d2/testdata/d2compiler/TestCompile2/boards/boardContainer.exp.json
Anmol Sethi e4fac7840f
cli: Improve multiboard output
- Boards with subboards are now selfcontained folders with index.svg/png as
  the root board render.
- Boards that are only containers of other boards are not rendered. For example a
  scenario with no modifications and only steps only has its steps
  rendered.
- Boards with sibling boards of another type are rendered under a
  subdirectory indicating their type to separate them. For example a
  board with layers and scenarios has its layers rendered into subfolder
  layers and scenarios into subfolder scenarios.

cc @berniexie see BoardContainer field on d2target.Board for the field
you were looking for to skip renders for PDFs too.
2023-02-27 13:50:03 -08:00

1688 lines
92 KiB
JSON
Generated

{
"graph": {
"name": "",
"boardContainer": true,
"ast": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,0:0:0-18:0:165",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:0:1-17:1:164",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:0:1-1:6:7",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:0:1-1:6:7",
"value": [
{
"string": "layers",
"raw_string": "layers"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:8:9-17:0:163",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:2:13-4:3:33",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:2:13-2:5:16",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:2:13-2:5:16",
"value": [
{
"string": "one",
"raw_string": "one"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:7:18-4:2:32",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"value": [
{
"string": "santa",
"raw_string": "santa"
}
]
}
}
]
},
"primary": {},
"value": {}
}
}
]
}
}
}
},
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:2:36-16:3:162",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:2:36-5:5:39",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:2:36-5:5:39",
"value": [
{
"string": "two",
"raw_string": "two"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:7:41-16:2:161",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"value": [
{
"string": "clause",
"raw_string": "clause"
}
]
}
}
]
},
"primary": {},
"value": {}
}
},
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:2:56-15:3:158",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:2:56-7:11:65",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:2:56-7:11:65",
"value": [
{
"string": "scenarios",
"raw_string": "scenarios"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:13:67-15:2:157",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:3:72-9:4:88",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:3:72-8:11:80",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:3:72-8:11:80",
"value": [
{
"string": "seinfeld",
"raw_string": "seinfeld"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:13:82-9:3:87",
"nodes": null
}
}
}
},
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:3:92-14:4:154",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:3:92-10:11:100",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:3:92-10:11:100",
"value": [
{
"string": "missoula",
"raw_string": "missoula"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:13:102-14:3:153",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:4:108-13:5:149",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:4:108-11:9:113",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:4:108-11:9:113",
"value": [
{
"string": "steps",
"raw_string": "steps"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:11:115-13:4:148",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:5:122-12:26:143",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:5:122-12:11:128",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:5:122-12:11:128",
"value": [
{
"string": "missus",
"raw_string": "missus"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:13:130-12:26:143",
"value": [
{
"string": "one two three",
"raw_string": "one two three"
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
},
"root": {
"id": "",
"id_val": "",
"label_dimensions": {
"width": 0,
"height": 0
},
"attributes": {
"label": {
"value": ""
},
"style": {},
"near_key": null,
"shape": {
"value": ""
},
"direction": {
"value": ""
},
"constraint": {
"value": ""
}
},
"zIndex": 0
},
"edges": null,
"objects": null,
"layers": [
{
"name": "one",
"boardContainer": false,
"ast": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,0:0:0-18:0:165",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:0:1-17:1:164",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:0:1-1:6:7",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:0:1-1:6:7",
"value": [
{
"string": "layers",
"raw_string": "layers"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:8:9-17:0:163",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:2:13-4:3:33",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:2:13-2:5:16",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:2:13-2:5:16",
"value": [
{
"string": "one",
"raw_string": "one"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:7:18-4:2:32",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"value": [
{
"string": "santa",
"raw_string": "santa"
}
]
}
}
]
},
"primary": {},
"value": {}
}
}
]
}
}
}
},
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:2:36-16:3:162",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:2:36-5:5:39",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:2:36-5:5:39",
"value": [
{
"string": "two",
"raw_string": "two"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:7:41-16:2:161",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"value": [
{
"string": "clause",
"raw_string": "clause"
}
]
}
}
]
},
"primary": {},
"value": {}
}
},
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:2:56-15:3:158",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:2:56-7:11:65",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:2:56-7:11:65",
"value": [
{
"string": "scenarios",
"raw_string": "scenarios"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:13:67-15:2:157",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:3:72-9:4:88",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:3:72-8:11:80",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:3:72-8:11:80",
"value": [
{
"string": "seinfeld",
"raw_string": "seinfeld"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:13:82-9:3:87",
"nodes": null
}
}
}
},
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:3:92-14:4:154",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:3:92-10:11:100",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:3:92-10:11:100",
"value": [
{
"string": "missoula",
"raw_string": "missoula"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:13:102-14:3:153",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:4:108-13:5:149",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:4:108-11:9:113",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:4:108-11:9:113",
"value": [
{
"string": "steps",
"raw_string": "steps"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:11:115-13:4:148",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:5:122-12:26:143",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:5:122-12:11:128",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:5:122-12:11:128",
"value": [
{
"string": "missus",
"raw_string": "missus"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:13:130-12:26:143",
"value": [
{
"string": "one two three",
"raw_string": "one two three"
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
},
"root": {
"id": "",
"id_val": "",
"label_dimensions": {
"width": 0,
"height": 0
},
"attributes": {
"label": {
"value": ""
},
"style": {},
"near_key": null,
"shape": {
"value": ""
},
"direction": {
"value": ""
},
"constraint": {
"value": ""
}
},
"zIndex": 0
},
"edges": null,
"objects": [
{
"id": "santa",
"id_val": "santa",
"label_dimensions": {
"width": 0,
"height": 0
},
"references": [
{
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"value": [
{
"string": "santa",
"raw_string": "santa"
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": -1
}
],
"attributes": {
"label": {
"value": "santa"
},
"style": {},
"near_key": null,
"shape": {
"value": "rectangle"
},
"direction": {
"value": ""
},
"constraint": {
"value": ""
}
},
"zIndex": 0
}
]
},
{
"name": "two",
"boardContainer": false,
"ast": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,0:0:0-18:0:165",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:0:1-17:1:164",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:0:1-1:6:7",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:0:1-1:6:7",
"value": [
{
"string": "layers",
"raw_string": "layers"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:8:9-17:0:163",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:2:13-4:3:33",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:2:13-2:5:16",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:2:13-2:5:16",
"value": [
{
"string": "one",
"raw_string": "one"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:7:18-4:2:32",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"value": [
{
"string": "santa",
"raw_string": "santa"
}
]
}
}
]
},
"primary": {},
"value": {}
}
}
]
}
}
}
},
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:2:36-16:3:162",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:2:36-5:5:39",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:2:36-5:5:39",
"value": [
{
"string": "two",
"raw_string": "two"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:7:41-16:2:161",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"value": [
{
"string": "clause",
"raw_string": "clause"
}
]
}
}
]
},
"primary": {},
"value": {}
}
},
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:2:56-15:3:158",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:2:56-7:11:65",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:2:56-7:11:65",
"value": [
{
"string": "scenarios",
"raw_string": "scenarios"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:13:67-15:2:157",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:3:72-9:4:88",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:3:72-8:11:80",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:3:72-8:11:80",
"value": [
{
"string": "seinfeld",
"raw_string": "seinfeld"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:13:82-9:3:87",
"nodes": null
}
}
}
},
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:3:92-14:4:154",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:3:92-10:11:100",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:3:92-10:11:100",
"value": [
{
"string": "missoula",
"raw_string": "missoula"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:13:102-14:3:153",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:4:108-13:5:149",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:4:108-11:9:113",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:4:108-11:9:113",
"value": [
{
"string": "steps",
"raw_string": "steps"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:11:115-13:4:148",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:5:122-12:26:143",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:5:122-12:11:128",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:5:122-12:11:128",
"value": [
{
"string": "missus",
"raw_string": "missus"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:13:130-12:26:143",
"value": [
{
"string": "one two three",
"raw_string": "one two three"
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
},
"root": {
"id": "",
"id_val": "",
"label_dimensions": {
"width": 0,
"height": 0
},
"attributes": {
"label": {
"value": ""
},
"style": {},
"near_key": null,
"shape": {
"value": ""
},
"direction": {
"value": ""
},
"constraint": {
"value": ""
}
},
"zIndex": 0
},
"edges": null,
"objects": [
{
"id": "clause",
"id_val": "clause",
"label_dimensions": {
"width": 0,
"height": 0
},
"references": [
{
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"value": [
{
"string": "clause",
"raw_string": "clause"
}
]
}
}
]
},
"key_path_index": 0,
"map_key_edge_index": -1
}
],
"attributes": {
"label": {
"value": "clause"
},
"style": {},
"near_key": null,
"shape": {
"value": "rectangle"
},
"direction": {
"value": ""
},
"constraint": {
"value": ""
}
},
"zIndex": 0
}
],
"scenarios": [
{
"name": "seinfeld",
"boardContainer": false,
"ast": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,0:0:0-18:0:165",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:0:1-17:1:164",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:0:1-1:6:7",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:0:1-1:6:7",
"value": [
{
"string": "layers",
"raw_string": "layers"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:8:9-17:0:163",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:2:13-4:3:33",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:2:13-2:5:16",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:2:13-2:5:16",
"value": [
{
"string": "one",
"raw_string": "one"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:7:18-4:2:32",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"value": [
{
"string": "santa",
"raw_string": "santa"
}
]
}
}
]
},
"primary": {},
"value": {}
}
}
]
}
}
}
},
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:2:36-16:3:162",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:2:36-5:5:39",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:2:36-5:5:39",
"value": [
{
"string": "two",
"raw_string": "two"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:7:41-16:2:161",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"value": [
{
"string": "clause",
"raw_string": "clause"
}
]
}
}
]
},
"primary": {},
"value": {}
}
},
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:2:56-15:3:158",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:2:56-7:11:65",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:2:56-7:11:65",
"value": [
{
"string": "scenarios",
"raw_string": "scenarios"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:13:67-15:2:157",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:3:72-9:4:88",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:3:72-8:11:80",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:3:72-8:11:80",
"value": [
{
"string": "seinfeld",
"raw_string": "seinfeld"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:13:82-9:3:87",
"nodes": null
}
}
}
},
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:3:92-14:4:154",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:3:92-10:11:100",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:3:92-10:11:100",
"value": [
{
"string": "missoula",
"raw_string": "missoula"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:13:102-14:3:153",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:4:108-13:5:149",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:4:108-11:9:113",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:4:108-11:9:113",
"value": [
{
"string": "steps",
"raw_string": "steps"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:11:115-13:4:148",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:5:122-12:26:143",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:5:122-12:11:128",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:5:122-12:11:128",
"value": [
{
"string": "missus",
"raw_string": "missus"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:13:130-12:26:143",
"value": [
{
"string": "one two three",
"raw_string": "one two three"
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
},
"root": {
"id": "",
"id_val": "",
"label_dimensions": {
"width": 0,
"height": 0
},
"attributes": {
"label": {
"value": ""
},
"style": {},
"near_key": null,
"shape": {
"value": ""
},
"direction": {
"value": ""
},
"constraint": {
"value": ""
}
},
"zIndex": 0
},
"edges": null,
"objects": null
},
{
"name": "missoula",
"boardContainer": false,
"ast": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,0:0:0-18:0:165",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:0:1-17:1:164",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:0:1-1:6:7",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:0:1-1:6:7",
"value": [
{
"string": "layers",
"raw_string": "layers"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,1:8:9-17:0:163",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:2:13-4:3:33",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:2:13-2:5:16",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:2:13-2:5:16",
"value": [
{
"string": "one",
"raw_string": "one"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,2:7:18-4:2:32",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,3:4:24-3:9:29",
"value": [
{
"string": "santa",
"raw_string": "santa"
}
]
}
}
]
},
"primary": {},
"value": {}
}
}
]
}
}
}
},
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:2:36-16:3:162",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:2:36-5:5:39",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:2:36-5:5:39",
"value": [
{
"string": "two",
"raw_string": "two"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,5:7:41-16:2:161",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,6:4:47-6:10:53",
"value": [
{
"string": "clause",
"raw_string": "clause"
}
]
}
}
]
},
"primary": {},
"value": {}
}
},
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:2:56-15:3:158",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:2:56-7:11:65",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:2:56-7:11:65",
"value": [
{
"string": "scenarios",
"raw_string": "scenarios"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,7:13:67-15:2:157",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:3:72-9:4:88",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:3:72-8:11:80",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:3:72-8:11:80",
"value": [
{
"string": "seinfeld",
"raw_string": "seinfeld"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,8:13:82-9:3:87",
"nodes": null
}
}
}
},
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:3:92-14:4:154",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:3:92-10:11:100",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:3:92-10:11:100",
"value": [
{
"string": "missoula",
"raw_string": "missoula"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,10:13:102-14:3:153",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:4:108-13:5:149",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:4:108-11:9:113",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:4:108-11:9:113",
"value": [
{
"string": "steps",
"raw_string": "steps"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,11:11:115-13:4:148",
"nodes": [
{
"map_key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:5:122-12:26:143",
"key": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:5:122-12:11:128",
"path": [
{
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:5:122-12:11:128",
"value": [
{
"string": "missus",
"raw_string": "missus"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "d2/testdata/d2compiler/TestCompile2/boards/boardContainer.d2,12:13:130-12:26:143",
"value": [
{
"string": "one two three",
"raw_string": "one two three"
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
}
}
}
}
]
},
"root": {
"id": "",
"id_val": "",
"label_dimensions": {
"width": 0,
"height": 0
},
"attributes": {
"label": {
"value": ""
},
"style": {},
"near_key": null,
"shape": {
"value": ""
},
"direction": {
"value": ""
},
"constraint": {
"value": ""
}
},
"zIndex": 0
},
"edges": null,
"objects": null
}
]
}
]
},
"err": null
}