2023-01-24 11:09:40 +00:00
|
|
|
{
|
|
|
|
|
"graph": {
|
|
|
|
|
"name": "",
|
2023-02-27 22:33:33 +00:00
|
|
|
"isFolderOnly": false,
|
2023-01-24 11:09:40 +00:00
|
|
|
"ast": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,0:0:0-5:0:63",
|
|
|
|
|
"nodes": [
|
|
|
|
|
{
|
|
|
|
|
"map_key": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,0:0:0-0:23:23",
|
|
|
|
|
"key": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,0:0:0-0:5:5",
|
|
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,0:0:0-0:5:5",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "shape",
|
|
|
|
|
"raw_string": "shape"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"primary": {},
|
|
|
|
|
"value": {
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,0:7:7-0:23:23",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "sequence_diagram",
|
|
|
|
|
"raw_string": "sequence_diagram"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"map_key": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:0:24-1:14:38",
|
|
|
|
|
"edges": [
|
|
|
|
|
{
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:0:24-1:14:38",
|
|
|
|
|
"src": {
|
2023-05-05 16:11:46 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:0:24-1:5:29",
|
2023-01-24 11:09:40 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:0:24-1:1:25",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "x",
|
|
|
|
|
"raw_string": "x"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:2:26-1:3:27",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:4:28-1:5:29",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "q",
|
|
|
|
|
"raw_string": "q"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"src_arrow": "",
|
|
|
|
|
"dst": {
|
2023-05-05 16:11:46 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:9:33-1:14:38",
|
2023-01-24 11:09:40 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:9:33-1:10:34",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "j",
|
|
|
|
|
"raw_string": "j"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:11:35-1:12:36",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:13:37-1:14:38",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "p",
|
|
|
|
|
"raw_string": "p"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"dst_arrow": ">"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"primary": {},
|
|
|
|
|
"value": {}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"map_key": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,2:0:39-4:1:62",
|
|
|
|
|
"key": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,2:0:39-2:2:41",
|
|
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,2:0:39-2:2:41",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "ok",
|
|
|
|
|
"raw_string": "ok"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"primary": {},
|
|
|
|
|
"value": {
|
|
|
|
|
"map": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,2:4:43-4:0:61",
|
|
|
|
|
"nodes": [
|
|
|
|
|
{
|
|
|
|
|
"map_key": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:1:46-3:15:60",
|
|
|
|
|
"edges": [
|
|
|
|
|
{
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:1:46-3:15:60",
|
|
|
|
|
"src": {
|
2023-05-05 16:11:46 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:1:46-3:6:51",
|
2023-01-24 11:09:40 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:1:46-3:2:47",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "x",
|
|
|
|
|
"raw_string": "x"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:3:48-3:4:49",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:5:50-3:6:51",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "q",
|
|
|
|
|
"raw_string": "q"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"src_arrow": "",
|
|
|
|
|
"dst": {
|
2023-05-05 16:11:46 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:10:55-3:15:60",
|
2023-01-24 11:09:40 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:10:55-3:11:56",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "j",
|
|
|
|
|
"raw_string": "j"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:12:57-3:13:58",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:14:59-3:15:60",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "p",
|
|
|
|
|
"raw_string": "p"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"dst_arrow": ">"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"primary": {},
|
|
|
|
|
"value": {}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"root": {
|
|
|
|
|
"id": "",
|
|
|
|
|
"id_val": "",
|
|
|
|
|
"attributes": {
|
|
|
|
|
"label": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
2023-04-14 03:09:40 +00:00
|
|
|
"labelDimensions": {
|
|
|
|
|
"width": 0,
|
|
|
|
|
"height": 0
|
|
|
|
|
},
|
2023-01-24 11:09:40 +00:00
|
|
|
"style": {},
|
|
|
|
|
"near_key": null,
|
|
|
|
|
"shape": {
|
|
|
|
|
"value": "sequence_diagram"
|
|
|
|
|
},
|
|
|
|
|
"direction": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
2023-06-03 12:05:18 +00:00
|
|
|
"constraint": null
|
2023-01-24 11:09:40 +00:00
|
|
|
},
|
|
|
|
|
"zIndex": 0
|
|
|
|
|
},
|
|
|
|
|
"edges": [
|
|
|
|
|
{
|
2023-01-28 07:28:44 +00:00
|
|
|
"index": 1,
|
2023-01-24 11:09:40 +00:00
|
|
|
"isCurve": false,
|
|
|
|
|
"src_arrow": false,
|
|
|
|
|
"dst_arrow": true,
|
|
|
|
|
"references": [
|
|
|
|
|
{
|
|
|
|
|
"map_key_edge_index": 0
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"attributes": {
|
|
|
|
|
"label": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
2023-04-14 03:09:40 +00:00
|
|
|
"labelDimensions": {
|
|
|
|
|
"width": 0,
|
|
|
|
|
"height": 0
|
|
|
|
|
},
|
2023-01-24 11:09:40 +00:00
|
|
|
"style": {},
|
|
|
|
|
"near_key": null,
|
|
|
|
|
"shape": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
|
|
|
|
"direction": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
2023-06-03 12:05:18 +00:00
|
|
|
"constraint": null
|
2023-01-24 11:09:40 +00:00
|
|
|
},
|
|
|
|
|
"zIndex": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-01-28 07:28:44 +00:00
|
|
|
"index": 0,
|
2023-01-24 11:09:40 +00:00
|
|
|
"isCurve": false,
|
|
|
|
|
"src_arrow": false,
|
|
|
|
|
"dst_arrow": true,
|
|
|
|
|
"references": [
|
|
|
|
|
{
|
|
|
|
|
"map_key_edge_index": 0
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"attributes": {
|
|
|
|
|
"label": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
2023-04-14 03:09:40 +00:00
|
|
|
"labelDimensions": {
|
|
|
|
|
"width": 0,
|
|
|
|
|
"height": 0
|
|
|
|
|
},
|
2023-01-24 11:09:40 +00:00
|
|
|
"style": {},
|
|
|
|
|
"near_key": null,
|
|
|
|
|
"shape": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
|
|
|
|
"direction": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
2023-06-03 12:05:18 +00:00
|
|
|
"constraint": null
|
2023-01-24 11:09:40 +00:00
|
|
|
},
|
|
|
|
|
"zIndex": 0
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"objects": [
|
|
|
|
|
{
|
|
|
|
|
"id": "x",
|
|
|
|
|
"id_val": "x",
|
|
|
|
|
"references": [
|
|
|
|
|
{
|
|
|
|
|
"key": {
|
2023-05-05 16:11:46 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:0:24-1:5:29",
|
2023-01-24 11:09:40 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:0:24-1:1:25",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "x",
|
|
|
|
|
"raw_string": "x"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:2:26-1:3:27",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:4:28-1:5:29",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "q",
|
|
|
|
|
"raw_string": "q"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"key_path_index": 0,
|
|
|
|
|
"map_key_edge_index": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": {
|
2023-05-05 16:11:46 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:1:46-3:6:51",
|
2023-01-24 11:09:40 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:1:46-3:2:47",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "x",
|
|
|
|
|
"raw_string": "x"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:3:48-3:4:49",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:5:50-3:6:51",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "q",
|
|
|
|
|
"raw_string": "q"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"key_path_index": 0,
|
|
|
|
|
"map_key_edge_index": 0
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"attributes": {
|
|
|
|
|
"label": {
|
|
|
|
|
"value": "x"
|
|
|
|
|
},
|
2023-04-14 03:09:40 +00:00
|
|
|
"labelDimensions": {
|
|
|
|
|
"width": 0,
|
|
|
|
|
"height": 0
|
|
|
|
|
},
|
2023-01-24 11:09:40 +00:00
|
|
|
"style": {},
|
|
|
|
|
"near_key": null,
|
|
|
|
|
"shape": {
|
|
|
|
|
"value": "rectangle"
|
|
|
|
|
},
|
|
|
|
|
"direction": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
2023-06-03 12:05:18 +00:00
|
|
|
"constraint": null
|
2023-01-24 11:09:40 +00:00
|
|
|
},
|
|
|
|
|
"zIndex": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "y",
|
|
|
|
|
"id_val": "y",
|
|
|
|
|
"references": [
|
|
|
|
|
{
|
|
|
|
|
"key": {
|
2023-05-05 16:11:46 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:0:24-1:5:29",
|
2023-01-24 11:09:40 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:0:24-1:1:25",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "x",
|
|
|
|
|
"raw_string": "x"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:2:26-1:3:27",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:4:28-1:5:29",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "q",
|
|
|
|
|
"raw_string": "q"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"key_path_index": 1,
|
|
|
|
|
"map_key_edge_index": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": {
|
2023-05-05 16:11:46 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:1:46-3:6:51",
|
2023-01-24 11:09:40 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:1:46-3:2:47",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "x",
|
|
|
|
|
"raw_string": "x"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:3:48-3:4:49",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:5:50-3:6:51",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "q",
|
|
|
|
|
"raw_string": "q"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"key_path_index": 1,
|
|
|
|
|
"map_key_edge_index": 0
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"attributes": {
|
|
|
|
|
"label": {
|
|
|
|
|
"value": "y"
|
|
|
|
|
},
|
2023-04-14 03:09:40 +00:00
|
|
|
"labelDimensions": {
|
|
|
|
|
"width": 0,
|
|
|
|
|
"height": 0
|
|
|
|
|
},
|
2023-01-24 11:09:40 +00:00
|
|
|
"style": {},
|
|
|
|
|
"near_key": null,
|
|
|
|
|
"shape": {
|
|
|
|
|
"value": "rectangle"
|
|
|
|
|
},
|
|
|
|
|
"direction": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
2023-06-03 12:05:18 +00:00
|
|
|
"constraint": null
|
2023-01-24 11:09:40 +00:00
|
|
|
},
|
|
|
|
|
"zIndex": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "q",
|
|
|
|
|
"id_val": "q",
|
|
|
|
|
"references": [
|
|
|
|
|
{
|
|
|
|
|
"key": {
|
2023-05-05 16:11:46 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:0:24-1:5:29",
|
2023-01-24 11:09:40 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:0:24-1:1:25",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "x",
|
|
|
|
|
"raw_string": "x"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:2:26-1:3:27",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:4:28-1:5:29",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "q",
|
|
|
|
|
"raw_string": "q"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"key_path_index": 2,
|
|
|
|
|
"map_key_edge_index": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": {
|
2023-05-05 16:11:46 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:1:46-3:6:51",
|
2023-01-24 11:09:40 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:1:46-3:2:47",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "x",
|
|
|
|
|
"raw_string": "x"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:3:48-3:4:49",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:5:50-3:6:51",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "q",
|
|
|
|
|
"raw_string": "q"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"key_path_index": 2,
|
|
|
|
|
"map_key_edge_index": 0
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"attributes": {
|
|
|
|
|
"label": {
|
|
|
|
|
"value": "q"
|
|
|
|
|
},
|
2023-04-14 03:09:40 +00:00
|
|
|
"labelDimensions": {
|
|
|
|
|
"width": 0,
|
|
|
|
|
"height": 0
|
|
|
|
|
},
|
2023-01-24 11:09:40 +00:00
|
|
|
"style": {},
|
|
|
|
|
"near_key": null,
|
|
|
|
|
"shape": {
|
|
|
|
|
"value": "rectangle"
|
|
|
|
|
},
|
|
|
|
|
"direction": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
2023-06-03 12:05:18 +00:00
|
|
|
"constraint": null
|
2023-01-24 11:09:40 +00:00
|
|
|
},
|
|
|
|
|
"zIndex": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "j",
|
|
|
|
|
"id_val": "j",
|
|
|
|
|
"references": [
|
|
|
|
|
{
|
|
|
|
|
"key": {
|
2023-05-05 16:11:46 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:9:33-1:14:38",
|
2023-01-24 11:09:40 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:9:33-1:10:34",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "j",
|
|
|
|
|
"raw_string": "j"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:11:35-1:12:36",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:13:37-1:14:38",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "p",
|
|
|
|
|
"raw_string": "p"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"key_path_index": 0,
|
|
|
|
|
"map_key_edge_index": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": {
|
2023-05-05 16:11:46 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:10:55-3:15:60",
|
2023-01-24 11:09:40 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:10:55-3:11:56",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "j",
|
|
|
|
|
"raw_string": "j"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:12:57-3:13:58",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:14:59-3:15:60",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "p",
|
|
|
|
|
"raw_string": "p"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"key_path_index": 0,
|
|
|
|
|
"map_key_edge_index": 0
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"attributes": {
|
|
|
|
|
"label": {
|
|
|
|
|
"value": "j"
|
|
|
|
|
},
|
2023-04-14 03:09:40 +00:00
|
|
|
"labelDimensions": {
|
|
|
|
|
"width": 0,
|
|
|
|
|
"height": 0
|
|
|
|
|
},
|
2023-01-24 11:09:40 +00:00
|
|
|
"style": {},
|
|
|
|
|
"near_key": null,
|
|
|
|
|
"shape": {
|
|
|
|
|
"value": "rectangle"
|
|
|
|
|
},
|
|
|
|
|
"direction": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
2023-06-03 12:05:18 +00:00
|
|
|
"constraint": null
|
2023-01-24 11:09:40 +00:00
|
|
|
},
|
|
|
|
|
"zIndex": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "y",
|
|
|
|
|
"id_val": "y",
|
|
|
|
|
"references": [
|
|
|
|
|
{
|
|
|
|
|
"key": {
|
2023-05-05 16:11:46 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:9:33-1:14:38",
|
2023-01-24 11:09:40 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:9:33-1:10:34",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "j",
|
|
|
|
|
"raw_string": "j"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:11:35-1:12:36",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:13:37-1:14:38",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "p",
|
|
|
|
|
"raw_string": "p"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"key_path_index": 1,
|
|
|
|
|
"map_key_edge_index": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": {
|
2023-05-05 16:11:46 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:10:55-3:15:60",
|
2023-01-24 11:09:40 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:10:55-3:11:56",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "j",
|
|
|
|
|
"raw_string": "j"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:12:57-3:13:58",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:14:59-3:15:60",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "p",
|
|
|
|
|
"raw_string": "p"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"key_path_index": 1,
|
|
|
|
|
"map_key_edge_index": 0
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"attributes": {
|
|
|
|
|
"label": {
|
|
|
|
|
"value": "y"
|
|
|
|
|
},
|
2023-04-14 03:09:40 +00:00
|
|
|
"labelDimensions": {
|
|
|
|
|
"width": 0,
|
|
|
|
|
"height": 0
|
|
|
|
|
},
|
2023-01-24 11:09:40 +00:00
|
|
|
"style": {},
|
|
|
|
|
"near_key": null,
|
|
|
|
|
"shape": {
|
|
|
|
|
"value": "rectangle"
|
|
|
|
|
},
|
|
|
|
|
"direction": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
2023-06-03 12:05:18 +00:00
|
|
|
"constraint": null
|
2023-01-24 11:09:40 +00:00
|
|
|
},
|
|
|
|
|
"zIndex": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "p",
|
|
|
|
|
"id_val": "p",
|
|
|
|
|
"references": [
|
|
|
|
|
{
|
|
|
|
|
"key": {
|
2023-05-05 16:11:46 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:9:33-1:14:38",
|
2023-01-24 11:09:40 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:9:33-1:10:34",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "j",
|
|
|
|
|
"raw_string": "j"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:11:35-1:12:36",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,1:13:37-1:14:38",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "p",
|
|
|
|
|
"raw_string": "p"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"key_path_index": 2,
|
|
|
|
|
"map_key_edge_index": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": {
|
2023-05-05 16:11:46 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:10:55-3:15:60",
|
2023-01-24 11:09:40 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:10:55-3:11:56",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "j",
|
|
|
|
|
"raw_string": "j"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:12:57-3:13:58",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,3:14:59-3:15:60",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "p",
|
|
|
|
|
"raw_string": "p"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"key_path_index": 2,
|
|
|
|
|
"map_key_edge_index": 0
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"attributes": {
|
|
|
|
|
"label": {
|
|
|
|
|
"value": "p"
|
|
|
|
|
},
|
2023-04-14 03:09:40 +00:00
|
|
|
"labelDimensions": {
|
|
|
|
|
"width": 0,
|
|
|
|
|
"height": 0
|
|
|
|
|
},
|
2023-01-24 11:09:40 +00:00
|
|
|
"style": {},
|
|
|
|
|
"near_key": null,
|
|
|
|
|
"shape": {
|
|
|
|
|
"value": "rectangle"
|
|
|
|
|
},
|
|
|
|
|
"direction": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
2023-06-03 12:05:18 +00:00
|
|
|
"constraint": null
|
2023-01-24 11:09:40 +00:00
|
|
|
},
|
|
|
|
|
"zIndex": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "ok",
|
|
|
|
|
"id_val": "ok",
|
|
|
|
|
"references": [
|
|
|
|
|
{
|
|
|
|
|
"key": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,2:0:39-2:2:41",
|
|
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile/sequence_container.d2,2:0:39-2:2:41",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "ok",
|
|
|
|
|
"raw_string": "ok"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"key_path_index": 0,
|
|
|
|
|
"map_key_edge_index": -1
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"attributes": {
|
|
|
|
|
"label": {
|
|
|
|
|
"value": "ok"
|
|
|
|
|
},
|
2023-04-14 03:09:40 +00:00
|
|
|
"labelDimensions": {
|
|
|
|
|
"width": 0,
|
|
|
|
|
"height": 0
|
|
|
|
|
},
|
2023-01-24 11:09:40 +00:00
|
|
|
"style": {},
|
|
|
|
|
"near_key": null,
|
|
|
|
|
"shape": {
|
|
|
|
|
"value": "rectangle"
|
|
|
|
|
},
|
|
|
|
|
"direction": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
2023-06-03 12:05:18 +00:00
|
|
|
"constraint": null
|
2023-01-24 11:09:40 +00:00
|
|
|
},
|
|
|
|
|
"zIndex": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"err": null
|
|
|
|
|
}
|