d2/testdata/d2oracle/TestMove/into_container_with_flat_style.exp.json
2025-03-18 23:34:43 +05:30

227 lines
6.8 KiB
JSON
Generated

{
"graph": {
"name": "",
"isFolderOnly": false,
"ast": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,0:0:0-4:0:36",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,0:0:0-3:1:35",
"key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,0:0:0-0:1:1",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,0:3:3-3:1:35",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,1:2:7-1:24:29",
"key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,1:2:7-1:21:26",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,1:2:7-1:7:12",
"value": [
{
"string": "style",
"raw_string": "style"
}
]
}
},
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,1:8:13-1:21:26",
"value": [
{
"string": "border-radius",
"raw_string": "border-radius"
}
]
}
}
]
},
"primary": {},
"value": {
"number": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,1:23:28-1:24:29",
"raw": "5",
"value": "5"
}
}
}
},
{
"map_key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,2:2:32-2:3:33",
"key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,2:2:32-2:3:33",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,2:2:32-2:3:33",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
}
]
},
"primary": {},
"value": {}
}
}
]
}
}
}
}
]
},
"root": {
"id": "",
"id_val": "",
"attributes": {
"label": {
"value": ""
},
"labelDimensions": {
"width": 0,
"height": 0
},
"style": {},
"iconStyle": {},
"near_key": null,
"shape": {
"value": ""
},
"direction": {
"value": ""
},
"constraint": null
},
"zIndex": 0
},
"edges": null,
"objects": [
{
"id": "x",
"id_val": "x",
"references": [
{
"key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,0:0:0-0:1:1",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,0:0:0-0:1:1",
"value": [
{
"string": "x",
"raw_string": "x"
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": -1
}
],
"attributes": {
"label": {
"value": "x"
},
"labelDimensions": {
"width": 0,
"height": 0
},
"style": {
"borderRadius": {
"value": "5"
}
},
"iconStyle": {},
"near_key": null,
"shape": {
"value": "rectangle"
},
"direction": {
"value": ""
},
"constraint": null
},
"zIndex": 0
},
{
"id": "y",
"id_val": "y",
"references": [
{
"key": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,2:2:32-2:3:33",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2oracle/TestMove/into_container_with_flat_style.d2,2:2:32-2:3:33",
"value": [
{
"string": "y",
"raw_string": "y"
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": -1
}
],
"attributes": {
"label": {
"value": "y"
},
"labelDimensions": {
"width": 0,
"height": 0
},
"style": {},
"iconStyle": {},
"near_key": null,
"shape": {
"value": "rectangle"
},
"direction": {
"value": ""
},
"constraint": null
},
"zIndex": 0
}
]
},
"err": "<nil>"
}