{ "graph": { "name": "", "isFolderOnly": false, "ast": { "range": "d2/testdata/d2compiler/TestCompile/label-near-parent.d2,0:0:0-3:0:45", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-parent.d2,0:0:0-2:1:44", "key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-parent.d2,0:0:0-0:3:3", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-parent.d2,0:0:0-0:3:3", "value": [ { "string": "hey", "raw_string": "hey" } ] } } ] }, "primary": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-parent.d2,0:5:5-0:10:10", "value": [ { "string": "sushi", "raw_string": "sushi" } ] } }, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/label-near-parent.d2,0:11:11-2:1:44", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-parent.d2,1:1:14-1:29:42", "key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-parent.d2,1:1:14-1:11:24", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-parent.d2,1:1:14-1:6:19", "value": [ { "string": "label", "raw_string": "label" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-parent.d2,1:7:20-1:11:24", "value": [ { "string": "near", "raw_string": "near" } ] } } ] }, "primary": {}, "value": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-parent.d2,1:13:26-1:29:42", "value": [ { "string": "outside-top-left", "raw_string": "outside-top-left" } ] } } } } ] } } } } ] }, "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": "hey", "id_val": "hey", "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-parent.d2,0:0:0-0:3:3", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-parent.d2,0:0:0-0:3:3", "value": [ { "string": "hey", "raw_string": "hey" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": -1 } ], "attributes": { "label": { "value": "sushi" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": null, "labelPosition": { "value": "outside-top-left" } }, "zIndex": 0 } ] }, "err": null }