hunk.code_window:   const pathMap: PathMap<TContext, TEvent> = {};
     weightMap.forEach(([weight, fromState, fromEvent], stateSerial) => {
       pathMap[stateSerial] = {
         state: deserializeStateString(stateSerial),
         weight,
         path: (() => {
           if (!fromState) {
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:       state: stateMap.get(stateSerial)!,
  
hunk.file_path: packages/xstate-graph/src/graph.ts
hunk.type: replace
file: <?xml version="1.0" encoding="utf-8"?>
  <!-- Generator: Adobe Illustrator 22.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
  <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
  	 viewBox="0 0 279.8 98.5" style="enable-background:new 0 0 279.8 98.5;" xml:space="preserve">
  <g>
  	<g id="Layer_6">
  		<path d="M55.8,10.4L55.8,10.4h19.5L55.6,44.6l0,0C49.6,33.9,49.7,20.9,55.8,10.4z" fill="var(--fill, black)"/>
  		<polygon points="75.4,88.1 30.5,10.4 11,10.4 33.4,49.3 11,88.1 30.5,88.1 43.2,66.2 55.8,88.1" fill="var(--fill, black)"/>
  	</g>
  	<g class="st0">
  		<path d="M89.1,59.8c3.2,2.7,6.9,4,11.3,4.1c5.2-0.1,7.8-2,7.9-5.7c0-3.1-1.7-4.9-5.2-5.5c-1.6-0.2-3.4-0.5-5.3-0.8
  			c-3.4-0.6-6-1.9-7.8-3.9c-1.8-2.1-2.8-4.6-2.8-7.6c0-3.6,1.2-6.5,3.5-8.7c2.2-2.2,5.4-3.3,9.5-3.3c4.9,0.1,9.2,1.5,12.9,4.2
  			l-3.4,5.1c-3-2-6.3-3.1-9.8-3.2c-1.9,0-3.4,0.5-4.6,1.4c-1.3,1-2,2.5-2,4.4c0,1.2,0.4,2.3,1.3,3.2c0.9,1,2.3,1.7,4.3,2
  			c1.1,0.2,2.6,0.4,4.5,0.6c3.7,0.5,6.5,1.9,8.3,4.1c1.8,2.2,2.6,4.7,2.6,7.7C114,66,109.4,69.9,100.3,70c-5.9,0-10.9-1.9-15.2-5.6
  			L89.1,59.8z" fill="var(--fill, black)"/>
  		<path d="M135.5,34.2h-10.9v-5.5h27.8v5.5h-10.9v35.5h-6V34.2z" fill="var(--fill, black)"/>
  		<path d="M180.9,60.5h-15.1l-3.1,9.2h-6.4l14.4-41h5l14.4,41H184L180.9,60.5z M179.2,55l-5.7-17.9h-0.1L167.6,55H179.2z" fill="var(--fill, black)"/>
  		<path d="M205.4,34.2h-10.9v-5.5h27.8v5.5h-10.9v35.5h-6V34.2z" fill="var(--fill, black)"/>
  		<path d="M234.2,28.7h25.4v5.8h-19.4v11.7h16.5v5.5h-16.5v12.1h19.4v5.8h-25.4V28.7z" fill="var(--fill, black)"/>
  	</g>
  </g>
  </svg>
  