{ "graph": { "ast": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,0:0:0-6:0:117", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,0:0:0-5:1:116", "key": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,0:0:0-0:3:3", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,0:0:0-0:3:3", "value": [ { "string": "hey", "raw_string": "hey" } ] } } ] }, "primary": { "double_quoted_string": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,0:5:5-0:7:7", "value": null } }, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,0:8:8-5:0:115", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,1:2:12-1:64:74", "key": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,1:2:12-1:6:16", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,1:2:12-1:6:16", "value": [ { "string": "icon", "raw_string": "icon" } ] } } ] }, "primary": {}, "value": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,1:8:18-1:64:74", "value": [ { "string": "https://icons.terrastruct.com/essentials/004-picture.svg", "raw_string": "https://icons.terrastruct.com/essentials/004-picture.svg" } ] } } } }, { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,2:2:77-2:14:89", "key": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,2:2:77-2:7:82", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,2:2:77-2:7:82", "value": [ { "string": "shape", "raw_string": "shape" } ] } } ] }, "primary": {}, "value": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,2:9:84-2:14:89", "value": [ { "string": "image", "raw_string": "image" } ] } } } }, { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,3:1:91-3:11:101", "key": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,3:1:91-3:6:96", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,3:1:91-3:6:96", "value": [ { "string": "width", "raw_string": "width" } ] } } ] }, "primary": {}, "value": { "number": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,3:8:98-3:11:101", "raw": "200", "value": "200" } } } }, { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,4:1:103-4:12:114", "key": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,4:1:103-4:7:109", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,4:1:103-4:7:109", "value": [ { "string": "height", "raw_string": "height" } ] } } ] }, "primary": {}, "value": { "number": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,4:9:111-4:12:114", "raw": "230", "value": "230" } } } } ] } } } } ] }, "root": { "id": "", "id_val": "", "label_dimensions": { "width": 0, "height": 0 }, "attributes": { "label": { "value": "" }, "style": {}, "width": { "value": "" }, "height": { "value": "" }, "near_key": null, "shape": { "value": "" } } }, "edges": null, "objects": [ { "id": "hey", "id_val": "hey", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,0:0:0-0:3:3", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/image_dimensions.d2,0:0:0-0:3:3", "value": [ { "string": "hey", "raw_string": "hey" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "" }, "style": {}, "icon": { "Scheme": "https", "Opaque": "", "User": null, "Host": "icons.terrastruct.com", "Path": "/essentials/004-picture.svg", "RawPath": "", "ForceQuery": false, "RawQuery": "", "Fragment": "", "RawFragment": "" }, "width": { "value": "200" }, "height": { "value": "230" }, "near_key": null, "shape": { "value": "image" } } } ] }, "err": null }