2022-11-03 13:54:49 +00:00
|
|
|
{
|
|
|
|
|
"graph": {
|
2023-01-24 11:09:40 +00:00
|
|
|
"name": "",
|
2023-02-27 22:33:33 +00:00
|
|
|
"isFolderOnly": false,
|
2022-11-03 13:54:49 +00:00
|
|
|
"ast": {
|
|
|
|
|
"range": "d2/testdata/d2oracle/TestSet/shape_nested_style_set.d2,0:0:0-1:0:24",
|
|
|
|
|
"nodes": [
|
|
|
|
|
{
|
|
|
|
|
"map_key": {
|
|
|
|
|
"range": "d2/testdata/d2oracle/TestSet/shape_nested_style_set.d2,0:0:0-0:23:23",
|
|
|
|
|
"key": {
|
|
|
|
|
"range": "d2/testdata/d2oracle/TestSet/shape_nested_style_set.d2,0:0:0-0:1:1",
|
|
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2oracle/TestSet/shape_nested_style_set.d2,0:0:0-0:1:1",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "x",
|
|
|
|
|
"raw_string": "x"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"primary": {},
|
|
|
|
|
"value": {
|
|
|
|
|
"map": {
|
2023-06-06 22:48:14 +00:00
|
|
|
"range": "d2/testdata/d2oracle/TestSet/shape_nested_style_set.d2,0:3:3-0:23:23",
|
2022-11-03 13:54:49 +00:00
|
|
|
"nodes": [
|
|
|
|
|
{
|
|
|
|
|
"map_key": {
|
|
|
|
|
"range": "d2/testdata/d2oracle/TestSet/shape_nested_style_set.d2,0:4:4-0:22:22",
|
|
|
|
|
"key": {
|
|
|
|
|
"range": "d2/testdata/d2oracle/TestSet/shape_nested_style_set.d2,0:4:4-0:17:17",
|
|
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2oracle/TestSet/shape_nested_style_set.d2,0:4:4-0:9:9",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "style",
|
|
|
|
|
"raw_string": "style"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2oracle/TestSet/shape_nested_style_set.d2,0:10:10-0:17:17",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "opacity",
|
|
|
|
|
"raw_string": "opacity"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"primary": {},
|
|
|
|
|
"value": {
|
|
|
|
|
"number": {
|
|
|
|
|
"range": "d2/testdata/d2oracle/TestSet/shape_nested_style_set.d2,0:19:19-0:22:22",
|
|
|
|
|
"raw": "0.4",
|
|
|
|
|
"value": "2/5"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"root": {
|
|
|
|
|
"id": "",
|
|
|
|
|
"id_val": "",
|
|
|
|
|
"attributes": {
|
|
|
|
|
"label": {
|
|
|
|
|
"value": ""
|
|
|
|
|
},
|
2023-04-14 03:09:40 +00:00
|
|
|
"labelDimensions": {
|
|
|
|
|
"width": 0,
|
|
|
|
|
"height": 0
|
|
|
|
|
},
|
2022-11-03 13:54:49 +00:00
|
|
|
"style": {},
|
2025-03-17 18:01:49 +00:00
|
|
|
"iconStyle": {},
|
2022-11-03 13:54:49 +00:00
|
|
|
"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-01-24 11:09:40 +00:00
|
|
|
},
|
2023-06-03 12:05:18 +00:00
|
|
|
"constraint": null
|
2022-11-30 19:23:30 +00:00
|
|
|
},
|
|
|
|
|
"zIndex": 0
|
2022-11-03 13:54:49 +00:00
|
|
|
},
|
2023-01-24 11:09:40 +00:00
|
|
|
"edges": null,
|
2022-11-03 13:54:49 +00:00
|
|
|
"objects": [
|
|
|
|
|
{
|
|
|
|
|
"id": "x",
|
|
|
|
|
"id_val": "x",
|
|
|
|
|
"references": [
|
|
|
|
|
{
|
|
|
|
|
"key": {
|
|
|
|
|
"range": "d2/testdata/d2oracle/TestSet/shape_nested_style_set.d2,0:0:0-0:1:1",
|
|
|
|
|
"path": [
|
|
|
|
|
{
|
|
|
|
|
"unquoted_string": {
|
|
|
|
|
"range": "d2/testdata/d2oracle/TestSet/shape_nested_style_set.d2,0:0:0-0:1:1",
|
|
|
|
|
"value": [
|
|
|
|
|
{
|
|
|
|
|
"string": "x",
|
|
|
|
|
"raw_string": "x"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"key_path_index": 0,
|
2023-01-24 11:09:40 +00:00
|
|
|
"map_key_edge_index": -1
|
2022-11-03 13:54:49 +00:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"attributes": {
|
|
|
|
|
"label": {
|
|
|
|
|
"value": "x"
|
|
|
|
|
},
|
2023-04-14 03:09:40 +00:00
|
|
|
"labelDimensions": {
|
|
|
|
|
"width": 0,
|
|
|
|
|
"height": 0
|
|
|
|
|
},
|
2022-11-03 13:54:49 +00:00
|
|
|
"style": {
|
|
|
|
|
"opacity": {
|
|
|
|
|
"value": "0.4"
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-03-17 18:01:49 +00:00
|
|
|
"iconStyle": {},
|
2022-11-03 13:54:49 +00:00
|
|
|
"near_key": null,
|
|
|
|
|
"shape": {
|
2023-01-24 11:09:40 +00:00
|
|
|
"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-01-24 11:09:40 +00:00
|
|
|
},
|
2023-06-03 12:05:18 +00:00
|
|
|
"constraint": null
|
2022-11-30 19:23:30 +00:00
|
|
|
},
|
|
|
|
|
"zIndex": 0
|
2022-11-03 13:54:49 +00:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"err": "<nil>"
|
|
|
|
|
}
|