{ "graph": { "name": "", "isFolderOnly": false, "ast": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-separate.d2,0:0:0-4:0:53", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-separate.d2,0:0:0-3:1:52", "key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-separate.d2,0:0:0-0:3:3", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-separate.d2,0:0:0-0:3:3", "value": [ { "string": "hey", "raw_string": "hey" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-separate.d2,0:5:5-3:1:52", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-separate.d2,1:1:8-1:13:20", "key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-separate.d2,1:1:8-1:6:13", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-separate.d2,1:1:8-1:6:13", "value": [ { "string": "label", "raw_string": "label" } ] } } ] }, "primary": {}, "value": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-separate.d2,1:8:15-1:13:20", "value": [ { "string": "sushi", "raw_string": "sushi" } ] } } } }, { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-separate.d2,2:1:22-2:29:50", "key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-separate.d2,2:1:22-2:11:32", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-separate.d2,2:1:22-2:6:27", "value": [ { "string": "label", "raw_string": "label" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-separate.d2,2:7:28-2:11:32", "value": [ { "string": "near", "raw_string": "near" } ] } } ] }, "primary": {}, "value": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-separate.d2,2:13:34-2:29:50", "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-composite-separate.d2,0:0:0-0:3:3", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-separate.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 }