{ "graph": { "ast": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:0:0-9:0:168", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:0:0-8:1:167", "edges": [ { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:0:0-0:6:6", "src": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:0:0-0:2:2", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:0:0-0:1:1", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "src_arrow": "", "dst": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:4:4-0:6:6", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:5:5-0:6:6", "value": [ { "string": "y", "raw_string": "y" } ] } } ] }, "dst_arrow": ">" } ], "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:8:8-8:0:166", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,1:2:12-3:3:91", "key": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,1:2:12-1:18:28", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,1:2:12-1:18:28", "value": [ { "string": "source-arrowhead", "raw_string": "source-arrowhead" } ] } } ] }, "primary": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,1:20:30-1:56:66", "value": [ { "string": "Reisner's Rule of Conceptual Inertia", "raw_string": "Reisner's Rule of Conceptual Inertia" } ] } }, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,1:57:67-3:2:90", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,2:4:73-2:18:87", "key": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,2:4:73-2:9:78", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,2:4:73-2:9:78", "value": [ { "string": "shape", "raw_string": "shape" } ] } } ] }, "primary": {}, "value": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,2:11:80-2:18:87", "value": [ { "string": "diamond", "raw_string": "diamond" } ] } } } } ] } } } }, { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,4:2:94-4:24:116", "key": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,4:2:94-4:18:110", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,4:2:94-4:18:110", "value": [ { "string": "target-arrowhead", "raw_string": "target-arrowhead" } ] } } ] }, "primary": {}, "value": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,4:20:112-4:24:116", "value": [ { "string": "QOTD", "raw_string": "QOTD" } ] } } } }, { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,5:2:119-7:3:165", "key": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,5:2:119-5:18:135", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,5:2:119-5:18:135", "value": [ { "string": "target-arrowhead", "raw_string": "target-arrowhead" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,5:20:137-7:2:164", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,6:4:143-6:22:161", "key": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,6:4:143-6:16:155", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,6:4:143-6:9:148", "value": [ { "string": "style", "raw_string": "style" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,6:10:149-6:16:155", "value": [ { "string": "filled", "raw_string": "filled" } ] } } ] }, "primary": {}, "value": { "boolean": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,6:18:157-6:22:161", "value": true } } } } ] } } } } ] } } } } ] }, "root": { "id": "", "id_val": "", "label_dimensions": { "width": 0, "height": 0 }, "attributes": { "label": { "value": "" }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "" } }, "zIndex": 0 }, "edges": [ { "index": 0, "minWidth": 0, "minHeight": 0, "label_dimensions": { "width": 0, "height": 0 }, "isCurve": false, "src_arrow": false, "srcArrowhead": { "label": { "value": "Reisner's Rule of Conceptual Inertia" }, "style": {}, "near_key": null, "shape": { "value": "diamond" }, "direction": { "value": "" } }, "dst_arrow": true, "dstArrowhead": { "label": { "value": "QOTD" }, "style": { "filled": { "value": "true" } }, "near_key": null, "shape": { "value": "" }, "direction": { "value": "" } }, "references": [ { "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "" }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "" } }, "zIndex": 0 } ], "objects": [ { "id": "x", "id_val": "x", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:0:0-0:2:2", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.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": "" } }, "zIndex": 0 }, { "id": "y", "id_val": "y", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:4:4-0:6:6", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.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": "" } }, "zIndex": 0 } ] }, "err": null }