{ "graph": { "name": "", "isFolderOnly": false, "ast": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-together.d2,0:0:0-5:0:55", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-together.d2,0:0:0-4:1:54", "key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-together.d2,0:0:0-0:3:3", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-together.d2,0:0:0-0:3:3", "value": [ { "string": "hey", "raw_string": "hey" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-together.d2,0:5:5-4:1:54", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-together.d2,1:2:9-3:3:52", "key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-together.d2,1:2:9-1:7:14", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-together.d2,1:2:9-1:7:14", "value": [ { "string": "label", "raw_string": "label" } ] } } ] }, "primary": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-together.d2,1:9:16-1:14:21", "value": [ { "string": "sushi", "raw_string": "sushi" } ] } }, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-together.d2,1:15:22-3:3:52", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-together.d2,2:2:26-2:24:48", "key": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-together.d2,2:2:26-2:6:30", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-together.d2,2:2:26-2:6:30", "value": [ { "string": "near", "raw_string": "near" } ] } } ] }, "primary": {}, "value": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-together.d2,2:8:32-2:24:48", "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-together.d2,0:0:0-0:3:3", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/label-near-composite-together.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 }