{ "graph": { "name": "", "ast": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:0:0-7:1:75", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:8:8-0:25:25", "key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:0:0-0:6:6", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:0:0-0:1:1", "value": [ { "string": "x", "raw_string": "x" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:2:2-0:6:6", "value": [ { "string": "link", "raw_string": "link" } ] } } ] }, "primary": {}, "value": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:8:8-0:25:25", "value": [ { "string": "layers.x.layers.x", "raw_string": "layers.x.layers.x" } ] } } } }, { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,1:0:26-7:1:75", "key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,1:0:26-1:6:32", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,1:0:26-1:6:32", "value": [ { "string": "layers", "raw_string": "layers" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,1:8:34-7:0:74", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,2:1:37-6:3:73", "key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,2:1:37-2:2:38", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,2:1:37-2:2:38", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,2:4:40-6:2:72", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,3:4:46-5:5:69", "key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,3:4:46-3:10:52", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,3:4:46-3:10:52", "value": [ { "string": "layers", "raw_string": "layers" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,3:12:54-5:4:68", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,4:6:62-4:7:63", "key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,4:6:62-4:7:63", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,4:6:62-4:7:63", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "primary": {}, "value": {} } } ] } } } } ] } } } } ] } } } } ] }, "root": { "id": "", "id_val": "", "label_dimensions": { "width": 0, "height": 0 }, "attributes": { "label": { "value": "" }, "style": {}, "link": { "value": "" }, "near_key": null, "shape": { "value": "" }, "direction": { "value": "" }, "constraint": { "value": "" } }, "zIndex": 0 }, "edges": null, "objects": [ { "id": "x", "id_val": "x", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:0:0-0:6:6", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:0:0-0:1:1", "value": [ { "string": "x", "raw_string": "x" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:2:2-0:6:6", "value": [ { "string": "link", "raw_string": "link" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": -1 } ], "attributes": { "label": { "value": "x" }, "style": {}, "link": { "value": "layers.x.layers.x" }, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": { "value": "" } }, "zIndex": 0 } ], "layers": [ { "name": "x", "ast": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:0:0-7:1:75", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:8:8-0:25:25", "key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:0:0-0:6:6", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:0:0-0:1:1", "value": [ { "string": "x", "raw_string": "x" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:2:2-0:6:6", "value": [ { "string": "link", "raw_string": "link" } ] } } ] }, "primary": {}, "value": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,0:8:8-0:25:25", "value": [ { "string": "layers.x.layers.x", "raw_string": "layers.x.layers.x" } ] } } } }, { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,1:0:26-7:1:75", "key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,1:0:26-1:6:32", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,1:0:26-1:6:32", "value": [ { "string": "layers", "raw_string": "layers" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,1:8:34-7:0:74", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,2:1:37-6:3:73", "key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,2:1:37-2:2:38", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,2:1:37-2:2:38", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,2:4:40-6:2:72", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,3:4:46-5:5:69", "key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,3:4:46-3:10:52", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,3:4:46-3:10:52", "value": [ { "string": "layers", "raw_string": "layers" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,3:12:54-5:4:68", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,4:6:62-4:7:63", "key": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,4:6:62-4:7:63", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/link-board-nested.d2,4:6:62-4:7:63", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "primary": {}, "value": {} } } ] } } } } ] } } } } ] } } } } ] }, "root": { "id": "", "id_val": "", "label_dimensions": { "width": 0, "height": 0 }, "attributes": { "label": { "value": "" }, "style": {}, "link": { "value": "" }, "near_key": null, "shape": { "value": "" }, "direction": { "value": "" }, "constraint": { "value": "" } }, "zIndex": 0 }, "edges": null, "objects": null } ] }, "err": null }