d2/testdata/d2oracle/TestCreate/edge_nested.exp.json

267 lines
6.7 KiB
JSON
Raw Permalink Normal View History

{
"graph": {
"name": "",
2023-02-27 22:33:33 +00:00
"isFolderOnly": false,
"ast": {
"range": "d2/testdata/d2oracle/TestCreate/edge_nested.d2,0:0:0-1:0:19",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2oracle/TestCreate/edge_nested.d2,0:0:0-0:18:18",
"key": {
2023-05-05 16:11:46 +00:00
"range": "d2/testdata/d2oracle/TestCreate/edge_nested.d2,0:0:0-0:9:9",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestCreate/edge_nested.d2,0:0:0-0:9:9",
"value": [
{
"string": "container",
"raw_string": "container"
}
]
}
}
]
},
"edges": [
{
"range": "d2/testdata/d2oracle/TestCreate/edge_nested.d2,0:11:11-0:17:17",
"src": {
2023-05-05 16:11:46 +00:00
"range": "d2/testdata/d2oracle/TestCreate/edge_nested.d2,0:11:11-0:12:12",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestCreate/edge_nested.d2,0:11:11-0:12:12",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"src_arrow": "",
"dst": {
2023-05-05 16:11:46 +00:00
"range": "d2/testdata/d2oracle/TestCreate/edge_nested.d2,0:16:16-0:17:17",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestCreate/edge_nested.d2,0:16:16-0:17:17",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
}
]
},
"dst_arrow": ">"
}
],
"primary": {},
"value": {}
}
}
]
},
"root": {
"id": "",
"id_val": "",
"attributes": {
"label": {
"value": ""
},
"labelDimensions": {
"width": 0,
"height": 0
},
"style": {},
"near_key": null,
"shape": {
"value": ""
2022-11-29 05:49:30 +00:00
},
2022-11-30 00:02:37 +00:00
"direction": {
2022-11-30 01:59:27 +00:00
"value": ""
},
2023-06-03 12:05:18 +00:00
"constraint": null
2022-11-30 19:23:30 +00:00
},
"zIndex": 0
},
"edges": [
{
"index": 0,
"isCurve": false,
"src_arrow": false,
"dst_arrow": true,
"references": [
{
"map_key_edge_index": 0
}
],
"attributes": {
"label": {
"value": ""
},
"labelDimensions": {
"width": 0,
"height": 0
},
"style": {},
"near_key": null,
"shape": {
"value": ""
2022-11-29 05:49:30 +00:00
},
2022-11-30 00:02:37 +00:00
"direction": {
2022-11-29 05:49:30 +00:00
"value": ""
},
2023-06-03 12:05:18 +00:00
"constraint": null
2022-11-30 19:23:30 +00:00
},
"zIndex": 0
}
],
"objects": [
{
"id": "container",
"id_val": "container",
"references": [
{
"key": {
2023-05-05 16:11:46 +00:00
"range": "d2/testdata/d2oracle/TestCreate/edge_nested.d2,0:0:0-0:9:9",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestCreate/edge_nested.d2,0:0:0-0:9:9",
"value": [
{
"string": "container",
"raw_string": "container"
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": -1
}
],
"attributes": {
"label": {
"value": "container"
},
"labelDimensions": {
"width": 0,
"height": 0
},
"style": {},
"near_key": null,
"shape": {
"value": "rectangle"
2022-11-29 05:49:30 +00:00
},
2022-11-30 00:02:37 +00:00
"direction": {
2022-11-30 01:59:27 +00:00
"value": ""
},
2023-06-03 12:05:18 +00:00
"constraint": null
2022-11-30 19:23:30 +00:00
},
"zIndex": 0
},
{
"id": "x",
"id_val": "x",
"references": [
{
"key": {
2023-05-05 16:11:46 +00:00
"range": "d2/testdata/d2oracle/TestCreate/edge_nested.d2,0:11:11-0:12:12",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestCreate/edge_nested.d2,0:11:11-0:12:12",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": 0
}
],
"attributes": {
"label": {
"value": "x"
},
"labelDimensions": {
"width": 0,
"height": 0
},
"style": {},
"near_key": null,
"shape": {
"value": "rectangle"
2022-11-29 05:49:30 +00:00
},
2022-11-30 00:02:37 +00:00
"direction": {
2022-11-30 01:59:27 +00:00
"value": ""
},
2023-06-03 12:05:18 +00:00
"constraint": null
2022-11-30 19:23:30 +00:00
},
"zIndex": 0
},
{
"id": "y",
"id_val": "y",
"references": [
{
"key": {
2023-05-05 16:11:46 +00:00
"range": "d2/testdata/d2oracle/TestCreate/edge_nested.d2,0:16:16-0:17:17",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestCreate/edge_nested.d2,0:16:16-0:17:17",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": 0
}
],
"attributes": {
"label": {
"value": "y"
},
"labelDimensions": {
"width": 0,
"height": 0
},
"style": {},
"near_key": null,
"shape": {
"value": "rectangle"
2022-11-29 05:49:30 +00:00
},
2022-11-30 00:02:37 +00:00
"direction": {
2022-11-30 01:59:27 +00:00
"value": ""
},
2023-06-03 12:05:18 +00:00
"constraint": null
2022-11-30 19:23:30 +00:00
},
"zIndex": 0
}
]
},
"err": "<nil>"
}