{ "graph": { "ast": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,0:0:0-4:0:52", "nodes": [ { "map_key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,0:0:0-0:6:6", "edges": [ { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,0:0:0-0:6:6", "src": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,0:0:0-0:2:2", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,0:0:0-0:1:1", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "src_arrow": "", "dst": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,0:4:4-0:6:6", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,0:5:5-0:6:6", "value": [ { "string": "y", "raw_string": "y" } ] } } ] }, "dst_arrow": ">" } ], "primary": {}, "value": {} } }, { "map_key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,1:0:7-1:14:21", "key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,1:0:7-1:6:13", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,1:0:7-1:5:12", "value": [ { "string": "hello", "raw_string": "hello" } ] } } ] }, "edges": [ { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,1:7:14-1:13:20", "src": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,1:7:14-1:9:16", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,1:7:14-1:8:15", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "src_arrow": "", "dst": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,1:11:18-1:13:20", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,1:12:19-1:13:20", "value": [ { "string": "y", "raw_string": "y" } ] } } ] }, "dst_arrow": ">" } ], "primary": {}, "value": {} } }, { "map_key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,2:0:22-2:14:36", "key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,2:0:22-2:6:28", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,2:0:22-2:5:27", "value": [ { "string": "hello", "raw_string": "hello" } ] } } ] }, "edges": [ { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,2:7:29-2:13:35", "src": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,2:7:29-2:9:31", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,2:7:29-2:8:30", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "src_arrow": "", "dst": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,2:11:33-2:13:35", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,2:12:34-2:13:35", "value": [ { "string": "y", "raw_string": "y" } ] } } ] }, "dst_arrow": ">" } ], "primary": {}, "value": {} } }, { "map_key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,3:0:37-3:14:51", "key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,3:0:37-3:6:43", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,3:0:37-3:5:42", "value": [ { "string": "hello", "raw_string": "hello" } ] } } ] }, "edges": [ { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,3:7:44-3:13:50", "src": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,3:7:44-3:9:46", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,3:7:44-3:8:45", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "src_arrow": "", "dst": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,3:11:48-3:13:50", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,3:12:49-3:13:50", "value": [ { "string": "y", "raw_string": "y" } ] } } ] }, "dst_arrow": ">" } ], "primary": {}, "value": {} } } ] }, "root": { "id": "", "id_val": "", "label_dimensions": { "width": 0, "height": 0 }, "attributes": { "label": { "value": "" }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "down" } } }, "edges": [ { "index": 0, "minWidth": 0, "minHeight": 0, "label_dimensions": { "width": 0, "height": 0 }, "isCurve": false, "src_arrow": false, "dst_arrow": true, "references": [ { "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "" }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "" } } }, { "index": 0, "minWidth": 0, "minHeight": 0, "label_dimensions": { "width": 0, "height": 0 }, "isCurve": false, "src_arrow": false, "dst_arrow": true, "references": [ { "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "" }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "" } } }, { "index": 1, "minWidth": 0, "minHeight": 0, "label_dimensions": { "width": 0, "height": 0 }, "isCurve": false, "src_arrow": false, "dst_arrow": true, "references": [ { "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "" }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "" } } }, { "index": 2, "minWidth": 0, "minHeight": 0, "label_dimensions": { "width": 0, "height": 0 }, "isCurve": false, "src_arrow": false, "dst_arrow": true, "references": [ { "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "" }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "" } } } ], "objects": [ { "id": "x", "id_val": "x", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,0:0:0-0:2:2", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,0:0:0-0:1:1", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "x" }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "down" } } }, { "id": "y", "id_val": "y", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,0:4:4-0:6:6", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,0:5:5-0:6:6", "value": [ { "string": "y", "raw_string": "y" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "y" }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "down" } } }, { "id": "hello", "id_val": "hello", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,1:0:7-1:6:13", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,1:0:7-1:5:12", "value": [ { "string": "hello", "raw_string": "hello" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 }, { "key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,2:0:22-2:6:28", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,2:0:22-2:5:27", "value": [ { "string": "hello", "raw_string": "hello" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 }, { "key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,3:0:37-3:6:43", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,3:0:37-3:5:42", "value": [ { "string": "hello", "raw_string": "hello" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "hello" }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "down" } } }, { "id": "x", "id_val": "x", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,1:7:14-1:9:16", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,1:7:14-1:8:15", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 }, { "key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,2:7:29-2:9:31", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,2:7:29-2:8:30", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 }, { "key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,3:7:44-3:9:46", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,3:7:44-3:8:45", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "x" }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "down" } } }, { "id": "y", "id_val": "y", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,1:11:18-1:13:20", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,1:12:19-1:13:20", "value": [ { "string": "y", "raw_string": "y" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 }, { "key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,2:11:33-2:13:35", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,2:12:34-2:13:35", "value": [ { "string": "y", "raw_string": "y" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 }, { "key": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,3:11:48-3:13:50", "path": [ { "unquoted_string": { "range": "d2/testdata/d2oracle/TestCreate/edge_unique.d2,3:12:49-3:13:50", "value": [ { "string": "y", "raw_string": "y" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "y" }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "down" } } } ] }, "err": "" }