{ "graph": { "name": "", "isFolderOnly": false, "ast": { "range": "d2/testdata/d2compiler/TestCompile/nested-scope-1.d2,0:0:0-1:0:11", "nodes": [ { "import": { "range": "d2/testdata/d2compiler/TestCompile/nested-scope-1.d2,0:0:0-0:10:10", "spread": true, "pre": "", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/nested-scope-1.d2,0:4:4-0:10:10", "value": [ { "string": "second", "raw_string": "second" } ] } } ] } } ] }, "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": null, "objects": [ { "id": "second", "id_val": "second", "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/second.d2,0:0:0-0:6:6", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/second.d2,0:0:0-0:6:6", "value": [ { "string": "second", "raw_string": "second" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": -1 } ], "attributes": { "label": { "value": "second" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 }, { "id": "third", "id_val": "third", "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/third.d2,0:0:0-0:5:5", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/third.d2,0:0:0-0:5:5", "value": [ { "string": "third", "raw_string": "third" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": -1 } ], "attributes": { "label": { "value": "third" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 }, { "id": "elem", "id_val": "elem", "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/third.d2,1:2:11-1:6:15", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/third.d2,1:2:11-1:6:15", "value": [ { "string": "elem", "raw_string": "elem" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": -1 } ], "attributes": { "label": { "value": "elem" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 } ] }, "err": null }