{ "graph": { "name": "", "boardContainer": false, "ast": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,0:0:0-6:0:60", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,0:0:0-0:23:23", "key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,0:0:0-0:5:5", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,0:0:0-0:5:5", "value": [ { "string": "shape", "raw_string": "shape" } ] } } ] }, "primary": {}, "value": { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,0:7:7-0:23:23", "value": [ { "string": "sequence_diagram", "raw_string": "sequence_diagram" } ] } } } }, { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:0:24-1:5:29", "key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:0:24-1:5:29", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:0:24-1:1:25", "value": [ { "string": "x", "raw_string": "x" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:2:26-1:3:27", "value": [ { "string": "y", "raw_string": "y" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:4:28-1:5:29", "value": [ { "string": "q", "raw_string": "q" } ] } } ] }, "primary": {}, "value": {} } }, { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,2:0:30-5:1:59", "key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,2:0:30-2:2:32", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,2:0:30-2:2:32", "value": [ { "string": "ok", "raw_string": "ok" } ] } } ] }, "primary": {}, "value": { "map": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,2:4:34-5:0:58", "nodes": [ { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:1:37-3:15:51", "edges": [ { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:1:37-3:15:51", "src": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:1:37-3:7:43", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:1:37-3:2:38", "value": [ { "string": "x", "raw_string": "x" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:3:39-3:4:40", "value": [ { "string": "y", "raw_string": "y" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:5:41-3:6:42", "value": [ { "string": "q", "raw_string": "q" } ] } } ] }, "src_arrow": "", "dst": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:9:45-3:15:51", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:10:46-3:11:47", "value": [ { "string": "j", "raw_string": "j" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:12:48-3:13:49", "value": [ { "string": "y", "raw_string": "y" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:14:50-3:15:51", "value": [ { "string": "p", "raw_string": "p" } ] } } ] }, "dst_arrow": ">" } ], "primary": {}, "value": {} } }, { "map_key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,4:1:53-4:5:57", "key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,4:1:53-4:5:57", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,4:1:53-4:5:57", "value": [ { "string": "meow", "raw_string": "meow" } ] } } ] }, "primary": {}, "value": {} } } ] } } } } ] }, "root": { "id": "", "id_val": "", "label_dimensions": { "width": 0, "height": 0 }, "attributes": { "label": { "value": "" }, "style": {}, "near_key": null, "shape": { "value": "sequence_diagram" }, "direction": { "value": "" }, "constraint": { "value": "" } }, "zIndex": 0 }, "edges": [ { "index": 0, "minWidth": 0, "minHeight": 0, "label_dimensions": { "width": 0, "height": 0 }, "isCurve": false, "src_arrow": false, "dst_arrow": true, "references": [ { "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "" }, "style": {}, "near_key": null, "shape": { "value": "" }, "direction": { "value": "" }, "constraint": { "value": "" } }, "zIndex": 0 } ], "objects": [ { "id": "x", "id_val": "x", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:0:24-1:5:29", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:0:24-1:1:25", "value": [ { "string": "x", "raw_string": "x" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:2:26-1:3:27", "value": [ { "string": "y", "raw_string": "y" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:4:28-1:5:29", "value": [ { "string": "q", "raw_string": "q" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": -1 }, { "key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:1:37-3:7:43", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:1:37-3:2:38", "value": [ { "string": "x", "raw_string": "x" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:3:39-3:4:40", "value": [ { "string": "y", "raw_string": "y" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:5:41-3:6:42", "value": [ { "string": "q", "raw_string": "q" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "x" }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": { "value": "" } }, "zIndex": 0 }, { "id": "y", "id_val": "y", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:0:24-1:5:29", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:0:24-1:1:25", "value": [ { "string": "x", "raw_string": "x" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:2:26-1:3:27", "value": [ { "string": "y", "raw_string": "y" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:4:28-1:5:29", "value": [ { "string": "q", "raw_string": "q" } ] } } ] }, "key_path_index": 1, "map_key_edge_index": -1 }, { "key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:1:37-3:7:43", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:1:37-3:2:38", "value": [ { "string": "x", "raw_string": "x" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:3:39-3:4:40", "value": [ { "string": "y", "raw_string": "y" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:5:41-3:6:42", "value": [ { "string": "q", "raw_string": "q" } ] } } ] }, "key_path_index": 1, "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "y" }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": { "value": "" } }, "zIndex": 0 }, { "id": "q", "id_val": "q", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:0:24-1:5:29", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:0:24-1:1:25", "value": [ { "string": "x", "raw_string": "x" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:2:26-1:3:27", "value": [ { "string": "y", "raw_string": "y" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,1:4:28-1:5:29", "value": [ { "string": "q", "raw_string": "q" } ] } } ] }, "key_path_index": 2, "map_key_edge_index": -1 }, { "key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:1:37-3:7:43", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:1:37-3:2:38", "value": [ { "string": "x", "raw_string": "x" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:3:39-3:4:40", "value": [ { "string": "y", "raw_string": "y" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:5:41-3:6:42", "value": [ { "string": "q", "raw_string": "q" } ] } } ] }, "key_path_index": 2, "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "q" }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": { "value": "" } }, "zIndex": 0 }, { "id": "ok", "id_val": "ok", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,2:0:30-2:2:32", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,2:0:30-2:2:32", "value": [ { "string": "ok", "raw_string": "ok" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": -1 } ], "attributes": { "label": { "value": "ok" }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": { "value": "" } }, "zIndex": 0 }, { "id": "j", "id_val": "j", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:9:45-3:15:51", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:10:46-3:11:47", "value": [ { "string": "j", "raw_string": "j" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:12:48-3:13:49", "value": [ { "string": "y", "raw_string": "y" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:14:50-3:15:51", "value": [ { "string": "p", "raw_string": "p" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "j" }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": { "value": "" } }, "zIndex": 0 }, { "id": "y", "id_val": "y", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:9:45-3:15:51", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:10:46-3:11:47", "value": [ { "string": "j", "raw_string": "j" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:12:48-3:13:49", "value": [ { "string": "y", "raw_string": "y" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:14:50-3:15:51", "value": [ { "string": "p", "raw_string": "p" } ] } } ] }, "key_path_index": 1, "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "y" }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": { "value": "" } }, "zIndex": 0 }, { "id": "p", "id_val": "p", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:9:45-3:15:51", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:10:46-3:11:47", "value": [ { "string": "j", "raw_string": "j" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:12:48-3:13:49", "value": [ { "string": "y", "raw_string": "y" } ] } }, { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,3:14:50-3:15:51", "value": [ { "string": "p", "raw_string": "p" } ] } } ] }, "key_path_index": 2, "map_key_edge_index": 0 } ], "attributes": { "label": { "value": "p" }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": { "value": "" } }, "zIndex": 0 }, { "id": "meow", "id_val": "meow", "label_dimensions": { "width": 0, "height": 0 }, "references": [ { "key": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,4:1:53-4:5:57", "path": [ { "unquoted_string": { "range": "d2/testdata/d2compiler/TestCompile/sequence_container_2.d2,4:1:53-4:5:57", "value": [ { "string": "meow", "raw_string": "meow" } ] } } ] }, "key_path_index": 0, "map_key_edge_index": -1 } ], "attributes": { "label": { "value": "meow" }, "style": {}, "near_key": null, "shape": { "value": "rectangle" }, "direction": { "value": "" }, "constraint": { "value": "" } }, "zIndex": 0 } ] }, "err": null }