200 lines
6.7 KiB
JSON
Generated
200 lines
6.7 KiB
JSON
Generated
{
|
|
"graph": {
|
|
"name": "",
|
|
"isFolderOnly": false,
|
|
"ast": {
|
|
"range": "d2/testdata/d2compiler/TestCompile/icon-near-composite-together.d2,0:0:0-5:0:64",
|
|
"nodes": [
|
|
{
|
|
"map_key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile/icon-near-composite-together.d2,0:0:0-4:1:63",
|
|
"key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile/icon-near-composite-together.d2,0:0:0-0:3:3",
|
|
"path": [
|
|
{
|
|
"unquoted_string": {
|
|
"range": "d2/testdata/d2compiler/TestCompile/icon-near-composite-together.d2,0:0:0-0:3:3",
|
|
"value": [
|
|
{
|
|
"string": "hey",
|
|
"raw_string": "hey"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"primary": {},
|
|
"value": {
|
|
"map": {
|
|
"range": "d2/testdata/d2compiler/TestCompile/icon-near-composite-together.d2,0:5:5-4:1:63",
|
|
"nodes": [
|
|
{
|
|
"map_key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile/icon-near-composite-together.d2,1:1:8-3:3:61",
|
|
"key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile/icon-near-composite-together.d2,1:1:8-1:5:12",
|
|
"path": [
|
|
{
|
|
"unquoted_string": {
|
|
"range": "d2/testdata/d2compiler/TestCompile/icon-near-composite-together.d2,1:1:8-1:5:12",
|
|
"value": [
|
|
{
|
|
"string": "icon",
|
|
"raw_string": "icon"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"primary": {
|
|
"unquoted_string": {
|
|
"range": "d2/testdata/d2compiler/TestCompile/icon-near-composite-together.d2,1:7:14-1:23:30",
|
|
"value": [
|
|
{
|
|
"string": "https://asdf.com",
|
|
"raw_string": "https://asdf.com"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"value": {
|
|
"map": {
|
|
"range": "d2/testdata/d2compiler/TestCompile/icon-near-composite-together.d2,1:24:31-3:3:61",
|
|
"nodes": [
|
|
{
|
|
"map_key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile/icon-near-composite-together.d2,2:2:35-2:24:57",
|
|
"key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile/icon-near-composite-together.d2,2:2:35-2:6:39",
|
|
"path": [
|
|
{
|
|
"unquoted_string": {
|
|
"range": "d2/testdata/d2compiler/TestCompile/icon-near-composite-together.d2,2:2:35-2:6:39",
|
|
"value": [
|
|
{
|
|
"string": "near",
|
|
"raw_string": "near"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"primary": {},
|
|
"value": {
|
|
"unquoted_string": {
|
|
"range": "d2/testdata/d2compiler/TestCompile/icon-near-composite-together.d2,2:8:41-2:24:57",
|
|
"value": [
|
|
{
|
|
"string": "outside-top-left",
|
|
"raw_string": "outside-top-left"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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": null,
|
|
"objects": [
|
|
{
|
|
"id": "hey",
|
|
"id_val": "hey",
|
|
"references": [
|
|
{
|
|
"key": {
|
|
"range": "d2/testdata/d2compiler/TestCompile/icon-near-composite-together.d2,0:0:0-0:3:3",
|
|
"path": [
|
|
{
|
|
"unquoted_string": {
|
|
"range": "d2/testdata/d2compiler/TestCompile/icon-near-composite-together.d2,0:0:0-0:3:3",
|
|
"value": [
|
|
{
|
|
"string": "hey",
|
|
"raw_string": "hey"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"key_path_index": 0,
|
|
"map_key_edge_index": -1
|
|
}
|
|
],
|
|
"attributes": {
|
|
"label": {
|
|
"value": "hey"
|
|
},
|
|
"labelDimensions": {
|
|
"width": 0,
|
|
"height": 0
|
|
},
|
|
"style": {},
|
|
"icon": {
|
|
"Scheme": "https",
|
|
"Opaque": "",
|
|
"User": null,
|
|
"Host": "asdf.com",
|
|
"Path": "",
|
|
"RawPath": "",
|
|
"OmitHost": false,
|
|
"ForceQuery": false,
|
|
"RawQuery": "",
|
|
"Fragment": "",
|
|
"RawFragment": ""
|
|
},
|
|
"near_key": null,
|
|
"shape": {
|
|
"value": "rectangle"
|
|
},
|
|
"direction": {
|
|
"value": ""
|
|
},
|
|
"constraint": null,
|
|
"iconPosition": {
|
|
"value": "outside-top-left"
|
|
}
|
|
},
|
|
"zIndex": 0
|
|
}
|
|
]
|
|
},
|
|
"err": null
|
|
}
|