{ "graph": { "ast": { "range": "d2/testdata/d2compiler/TestCompile/set_orientation.d2,0:0:0-2:1:32", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/set_orientation.d2,0:0:0-2:1:32", "key": { "range": "d2/testdata/d2compiler/TestCompile/set_orientation.d2,0:0:0-0:1:1", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/set_orientation.d2,0:0:0-0:1:1", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/set_orientation.d2,0:3:3-2:0:31", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/set_orientation.d2,1:2:7-1:25:30", "key": { "range": "d2/testdata/d2compiler/TestCompile/set_orientation.d2,1:2:7-1:13:18", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/set_orientation.d2,1:2:7-1:13:18", "value": [ { "string": "orientation", "raw_string": "orientation" } ] } } ] }, "primary": {}, "value": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/set_orientation.d2,1:15:20-1:25:30", "value": [ { "string": "horizontal", "raw_string": "horizontal" } ] } } } } ] } } } } ] }, "root": { "id": "", "id_val": "", "label_dimensions": { "width": 0, "height": 0 }, "attributes": { "label": { "value": "" }, "style": {}, "near_key": null, "shape": { "value": "" }, "orientation": { "value": "" } } }, "edges": null, "objects": [ { "id": "x", "id_val": "x", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/set_orientation.d2,0:0:0-0:1:1", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/set_orientation.d2,0:0:0-0:1:1", "value": [ { "string": "x", "raw_string": "x" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "x" }, "style": {}, "near_key": null, "shape": { "value": "" }, "orientation": { "value": "horizontal" } } } ] }, "err": null }