{ "graph": { "name": "", "isFolderOnly": false, "ast": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,0:0:0-7:1:84", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,0:0:0-7:1:84", "key": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,0:0:0-0:5:5", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,0:0:0-0:5:5", "value": [ { "string": "outer", "raw_string": "outer" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,0:7:7-7:1:84", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,1:2:11-6:3:82", "key": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,1:2:11-1:7:16", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,1:2:11-1:7:16", "value": [ { "string": "table", "raw_string": "table" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,1:9:18-6:3:82", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,2:4:24-2:20:40", "key": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,2:4:24-2:9:29", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,2:4:24-2:9:29", "value": [ { "string": "shape", "raw_string": "shape" } ] } } ] }, "primary": {}, "value": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,2:11:31-2:20:40", "value": [ { "string": "sql_table", "raw_string": "sql_table" } ] } } } }, { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,4:4:46-4:21:63", "key": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,4:4:46-4:13:55", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,4:4:46-4:13:55", "value": [ { "string": "GetType()", "raw_string": "GetType()" } ] } } ] }, "primary": {}, "value": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,4:15:57-4:21:63", "value": [ { "string": "string", "raw_string": "string" } ] } } } }, { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,5:4:68-5:14:78", "key": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,5:4:68-5:8:72", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,5:4:68-5:8:72", "value": [ { "string": "Is()", "raw_string": "Is()" } ] } } ] }, "primary": {}, "value": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,5:10:74-5:14:78", "value": [ { "string": "bool", "raw_string": "bool" } ] } } } } ] } } } } ] } } } } ] }, "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": "outer", "id_val": "outer", "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,0:0:0-0:5:5", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,0:0:0-0:5:5", "value": [ { "string": "outer", "raw_string": "outer" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": -1 } ], "attributes": { "label": { "value": "outer" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 }, { "id": "table", "id_val": "table", "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,1:2:11-1:7:16", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/nested_sql.d2,1:2:11-1:7:16", "value": [ { "string": "table", "raw_string": "table" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": -1 } ], "sql_table": { "columns": [ { "name": { "label": "GetType()", "fontSize": 0, "fontFamily": "", "language": "", "color": "", "italic": false, "bold": false, "underline": false, "labelWidth": 0, "labelHeight": 0 }, "type": { "label": "string", "fontSize": 0, "fontFamily": "", "language": "", "color": "", "italic": false, "bold": false, "underline": false, "labelWidth": 0, "labelHeight": 0 }, "constraint": null, "reference": "" }, { "name": { "label": "Is()", "fontSize": 0, "fontFamily": "", "language": "", "color": "", "italic": false, "bold": false, "underline": false, "labelWidth": 0, "labelHeight": 0 }, "type": { "label": "bool", "fontSize": 0, "fontFamily": "", "language": "", "color": "", "italic": false, "bold": false, "underline": false, "labelWidth": 0, "labelHeight": 0 }, "constraint": null, "reference": "" } ] }, "attributes": { "label": { "value": "table" }, "labelDimensions": { "width": 0, "height": 0 }, "style": {}, "near_key": null, "shape": { "value": "sql_table" }, "direction": { "value": "" }, "constraint": null }, "zIndex": 0 } ] }, "err": null }