2023-06-26 17:36:12 +00:00
|
|
|
{
|
|
|
|
|
"graph": {
|
|
|
|
|
"name": "",
|
|
|
|
|
"isFolderOnly": false,
|
|
|
|
|
"ast": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/no-delete-connection.d2,0:0:0-3:0:16",
|
|
|
|
|
"nodes": [
|
|
|
|
|
{
|
|
|
|
|
"map_key": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/no-delete-connection.d2,1:0:1-1:7:8",
|
|
|
|
|
"key": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/no-delete-connection.d2,1:0:1-1:1:2",
|
|
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/no-delete-connection.d2,1:0:1-1:1:2",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"primary": {},
|
|
|
|
|
"value": {
|
|
|
|
|
"null": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/no-delete-connection.d2,1:3:4-1:7:8"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"map_key": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/no-delete-connection.d2,2:0:9-2:6:15",
|
|
|
|
|
"edges": [
|
|
|
|
|
{
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/no-delete-connection.d2,2:0:9-2:6:15",
|
|
|
|
|
"src": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/no-delete-connection.d2,2:0:9-2:1:10",
|
|
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/no-delete-connection.d2,2:0:9-2:1:10",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "x",
|
|
|
|
|
"raw_string": "x"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"src_arrow": "",
|
|
|
|
|
"dst": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/no-delete-connection.d2,2:5:14-2:6:15",
|
|
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/no-delete-connection.d2,2:5:14-2:6:15",
|
|
|
|
|
"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": ""
|
|
|
|
|
},
|
|
|
|
|
"direction": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
|
|
|
|
"constraint": null
|
|
|
|
|
},
|
|
|
|
|
"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": ""
|
|
|
|
|
},
|
|
|
|
|
"direction": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
|
|
|
|
"constraint": null
|
|
|
|
|
},
|
|
|
|
|
"zIndex": 0
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"objects": [
|
|
|
|
|
{
|
2023-06-26 18:57:18 +00:00
|
|
|
"id": "x",
|
|
|
|
|
"id_val": "x",
|
2023-06-26 17:36:12 +00:00
|
|
|
"references": [
|
|
|
|
|
{
|
|
|
|
|
"key": {
|
2023-06-26 18:57:18 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/no-delete-connection.d2,2:0:9-2:1:10",
|
2023-06-26 17:36:12 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
2023-06-26 18:57:18 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/no-delete-connection.d2,2:0:9-2:1:10",
|
2023-06-26 17:36:12 +00:00
|
|
|
"value": [
|
|
|
|
|
{
|
2023-06-26 18:57:18 +00:00
|
|
|
"string": "x",
|
|
|
|
|
"raw_string": "x"
|
2023-06-26 17:36:12 +00:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"key_path_index": 0,
|
|
|
|
|
"map_key_edge_index": 0
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"attributes": {
|
|
|
|
|
"label": {
|
2023-06-26 18:57:18 +00:00
|
|
|
"value": "x"
|
2023-06-26 17:36:12 +00:00
|
|
|
},
|
|
|
|
|
"labelDimensions": {
|
|
|
|
|
"width": 0,
|
|
|
|
|
"height": 0
|
|
|
|
|
},
|
|
|
|
|
"style": {},
|
|
|
|
|
"near_key": null,
|
|
|
|
|
"shape": {
|
|
|
|
|
"value": "rectangle"
|
|
|
|
|
},
|
|
|
|
|
"direction": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
|
|
|
|
"constraint": null
|
|
|
|
|
},
|
|
|
|
|
"zIndex": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-06-26 18:57:18 +00:00
|
|
|
"id": "y",
|
|
|
|
|
"id_val": "y",
|
2023-06-26 17:36:12 +00:00
|
|
|
"references": [
|
|
|
|
|
{
|
|
|
|
|
"key": {
|
2023-06-26 18:57:18 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/no-delete-connection.d2,2:5:14-2:6:15",
|
2023-06-26 17:36:12 +00:00
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
2023-06-26 18:57:18 +00:00
|
|
|
"range": "d2/testdata/d2compiler/TestCompile2/nulls/implicit/no-delete-connection.d2,2:5:14-2:6:15",
|
2023-06-26 17:36:12 +00:00
|
|
|
"value": [
|
|
|
|
|
{
|
2023-06-26 18:57:18 +00:00
|
|
|
"string": "y",
|
|
|
|
|
"raw_string": "y"
|
2023-06-26 17:36:12 +00:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"key_path_index": 0,
|
|
|
|
|
"map_key_edge_index": 0
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"attributes": {
|
|
|
|
|
"label": {
|
2023-06-26 18:57:18 +00:00
|
|
|
"value": "y"
|
2023-06-26 17:36:12 +00:00
|
|
|
},
|
|
|
|
|
"labelDimensions": {
|
|
|
|
|
"width": 0,
|
|
|
|
|
"height": 0
|
|
|
|
|
},
|
|
|
|
|
"style": {},
|
|
|
|
|
"near_key": null,
|
|
|
|
|
"shape": {
|
|
|
|
|
"value": "rectangle"
|
|
|
|
|
},
|
|
|
|
|
"direction": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
|
|
|
|
"constraint": null
|
|
|
|
|
},
|
|
|
|
|
"zIndex": 0
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"err": null
|
|
|
|
|
}
|