{ "graph": { "name": "", "isFolderOnly": false, "ast": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,0:0:0-4:0:17", "nodes": [ { "map_key": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,1:0:1-1:6:7", "edges": [ { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,1:0:1-1:6:7", "src": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,1:0:1-1:1:2", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,1:0:1-1:1:2", "value": [ { "string": "b", "raw_string": "b" } ] } } ] }, "src_arrow": "", "dst": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,1:5:6-1:6:7", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,1:5:6-1:6:7", "value": [ { "string": "c", "raw_string": "c" } ] } } ] }, "dst_arrow": ">" } ], "primary": {}, "value": {} } }, { "map_key": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,2:0:8-2:6:14", "edges": [ { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,2:0:8-2:6:14", "src": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,2:0:8-2:1:9", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,2:0:8-2:1:9", "value": [ { "string": "a", "raw_string": "a" } ] } } ] }, "src_arrow": "", "dst": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,2:5:13-2:6:14", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,2:5:13-2:6:14", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "dst_arrow": ">" } ], "primary": {}, "value": {} } }, { "map_key": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,3:0:15-3:1:16", "key": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,3:0:15-3:1:16", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,3:0:15-3:1:16", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "primary": {}, "value": {} } } ] }, "root": { "id": "", "id_val": "", "attributes": { "label": { "value": "" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 }, "edges": [ { "index": 0, "isCurve": false, "src_arrow": false, "dst_arrow": true, "references": [ { "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 }, { "index": 0, "isCurve": false, "src_arrow": false, "dst_arrow": true, "references": [ { "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 } ], "objects": [ { "id": "b", "id_val": "b", "references": [ { "key": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,1:0:1-1:1:2", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,1:0:1-1:1:2", "value": [ { "string": "b", "raw_string": "b" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "b" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 }, { "id": "c", "id_val": "c", "references": [ { "key": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,1:5:6-1:6:7", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,1:5:6-1:6:7", "value": [ { "string": "c", "raw_string": "c" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "c" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 }, { "id": "a", "id_val": "a", "references": [ { "key": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,2:0:8-2:1:9", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,2:0:8-2:1:9", "value": [ { "string": "a", "raw_string": "a" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "a" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 }, { "id": "x", "id_val": "x", "references": [ { "key": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,2:5:13-2:6:14", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,2:5:13-2:6:14", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 }, { "key": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,3:0:15-3:1:16", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestReconnectEdge/middle_chain.d2,3:0:15-3:1:16", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": -1 } ], "attributes": { "label": { "value": "x" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 } ] }, "err": "" }