{ "graph": { "name": "", "isFolderOnly": true, "ast": { "range": "d2/testdata/d2compiler/TestCompile/layer-import-nested-layer.d2,0:0:0-1:0:9", "nodes": [ { "import": { "range": "d2/testdata/d2compiler/TestCompile/layer-import-nested-layer.d2,0:0:0-0:8:8", "spread": true, "pre": "", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/layer-import-nested-layer.d2,0:4:4-0:8:8", "value": [ { "string": "meow", "raw_string": "meow" } ] } } ] } } ] }, "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": null, "layers": [ { "name": "1", "isFolderOnly": false, "ast": { "range": "d2/testdata/d2compiler/TestCompile/meow.d2,0:0:0-1:0:0", "nodes": [ { "map_key": { "range": ",0:0:0-0:0:0", "key": { "range": ",0:0:0-0:0:0", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/meow.d2,2:4:21-2:8:25", "value": [ { "string": "asdf", "raw_string": "asdf" } ] } } ] }, "primary": {}, "value": {} } } ] }, "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": "asdf", "id_val": "asdf", "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/meow.d2,2:4:21-2:8:25", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/meow.d2,2:4:21-2:8:25", "value": [ { "string": "asdf", "raw_string": "asdf" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": -1 } ], "attributes": { "label": { "value": "asdf" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 } ] } ] }, "err": null }