2022-11-28 09:01:42PM
This commit is contained in:
parent
3f6b14cb00
commit
1db6939cce
57 changed files with 722 additions and 0 deletions
|
|
@ -1521,6 +1521,14 @@ dst.id <-> src.dst_id
|
|||
diff.AssertStringEq(t, "sequence_diagram", g.Root.Attributes.Shape.Value)
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "default_orientation",
|
||||
|
||||
text: `x`,
|
||||
assertions: func(t *testing.T, g *d2graph.Graph) {
|
||||
diff.AssertStringEq(t, "vertical", g.Objects[0].Attributes.Orientation.Value)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
for _, tc := range testCases {
|
||||
|
|
|
|||
|
|
@ -97,6 +97,8 @@ type Attributes struct {
|
|||
Language string `json:"language,omitempty"`
|
||||
// TODO: default to ShapeRectangle instead of empty string
|
||||
Shape Scalar `json:"shape"`
|
||||
|
||||
Orientation Scalar `json:"orientation"`
|
||||
}
|
||||
|
||||
// TODO references at the root scope should have their Scope set to root graph AST
|
||||
|
|
@ -442,6 +444,9 @@ func (obj *Object) newObject(id string) *Object {
|
|||
Label: Scalar{
|
||||
Value: idval,
|
||||
},
|
||||
Orientation: Scalar{
|
||||
Value: "vertical",
|
||||
},
|
||||
},
|
||||
|
||||
Graph: obj.Graph,
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/basic_icon.exp.json
generated
vendored
6
testdata/d2compiler/TestCompile/basic_icon.exp.json
generated
vendored
|
|
@ -87,6 +87,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -141,6 +144,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/basic_sequence.exp.json
generated
vendored
6
testdata/d2compiler/TestCompile/basic_sequence.exp.json
generated
vendored
|
|
@ -82,6 +82,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -124,6 +127,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "sequence_diagram"
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/basic_shape.exp.json
generated
vendored
6
testdata/d2compiler/TestCompile/basic_shape.exp.json
generated
vendored
|
|
@ -82,6 +82,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -124,6 +127,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "circle"
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/basic_style.exp.json
generated
vendored
6
testdata/d2compiler/TestCompile/basic_style.exp.json
generated
vendored
|
|
@ -89,6 +89,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -135,6 +138,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/class_paren.exp.json
generated
vendored
6
testdata/d2compiler/TestCompile/class_paren.exp.json
generated
vendored
|
|
@ -181,6 +181,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -244,6 +247,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "class"
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/class_style.exp.json
generated
vendored
6
testdata/d2compiler/TestCompile/class_style.exp.json
generated
vendored
|
|
@ -155,6 +155,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -211,6 +214,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "class"
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
100
testdata/d2compiler/TestCompile/default_orientation.exp.json
generated
vendored
Normal file
100
testdata/d2compiler/TestCompile/default_orientation.exp.json
generated
vendored
Normal file
|
|
@ -0,0 +1,100 @@
|
|||
{
|
||||
"graph": {
|
||||
"ast": {
|
||||
"range": "d2/testdata/d2compiler/TestCompile/default_orientation.d2,0:0:0-0:1:1",
|
||||
"nodes": [
|
||||
{
|
||||
"map_key": {
|
||||
"range": "d2/testdata/d2compiler/TestCompile/default_orientation.d2,0:0:0-0:1:1",
|
||||
"key": {
|
||||
"range": "d2/testdata/d2compiler/TestCompile/default_orientation.d2,0:0:0-0:1:1",
|
||||
"path": [
|
||||
{
|
||||
"unquoted_string": {
|
||||
"range": "d2/testdata/d2compiler/TestCompile/default_orientation.d2,0:0:0-0:1:1",
|
||||
"value": [
|
||||
{
|
||||
"string": "x",
|
||||
"raw_string": "x"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"primary": {},
|
||||
"value": {}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"root": {
|
||||
"id": "",
|
||||
"id_val": "",
|
||||
"label_dimensions": {
|
||||
"width": 0,
|
||||
"height": 0
|
||||
},
|
||||
"attributes": {
|
||||
"label": {
|
||||
"value": ""
|
||||
},
|
||||
"style": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"edges": null,
|
||||
"objects": [
|
||||
{
|
||||
"id": "x",
|
||||
"id_val": "x",
|
||||
"label_dimensions": {
|
||||
"width": 0,
|
||||
"height": 0
|
||||
},
|
||||
"references": [
|
||||
{
|
||||
"key": {
|
||||
"range": "d2/testdata/d2compiler/TestCompile/default_orientation.d2,0:0:0-0:1:1",
|
||||
"path": [
|
||||
{
|
||||
"unquoted_string": {
|
||||
"range": "d2/testdata/d2compiler/TestCompile/default_orientation.d2,0:0:0-0:1:1",
|
||||
"value": [
|
||||
{
|
||||
"string": "x",
|
||||
"raw_string": "x"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"key_path_index": 0,
|
||||
"map_key_edge_index": 0
|
||||
}
|
||||
],
|
||||
"attributes": {
|
||||
"label": {
|
||||
"value": "x"
|
||||
},
|
||||
"style": {},
|
||||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"err": null
|
||||
}
|
||||
12
testdata/d2compiler/TestCompile/edge.exp.json
generated
vendored
12
testdata/d2compiler/TestCompile/edge.exp.json
generated
vendored
|
|
@ -66,6 +66,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -94,6 +97,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -136,6 +142,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -176,6 +185,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
18
testdata/d2compiler/TestCompile/edge_arrowhead_fields.exp.json
generated
vendored
18
testdata/d2compiler/TestCompile/edge_arrowhead_fields.exp.json
generated
vendored
|
|
@ -245,6 +245,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -267,6 +270,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "diamond"
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
},
|
||||
"dst_arrow": true,
|
||||
|
|
@ -282,6 +288,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
},
|
||||
"references": [
|
||||
|
|
@ -297,6 +306,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -339,6 +351,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -379,6 +394,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
18
testdata/d2compiler/TestCompile/edge_chain.exp.json
generated
vendored
18
testdata/d2compiler/TestCompile/edge_chain.exp.json
generated
vendored
|
|
@ -113,6 +113,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -141,6 +144,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -168,6 +174,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -210,6 +219,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -270,6 +282,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -310,6 +325,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
18
testdata/d2compiler/TestCompile/edge_chain_map.exp.json
generated
vendored
18
testdata/d2compiler/TestCompile/edge_chain_map.exp.json
generated
vendored
|
|
@ -142,6 +142,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -170,6 +173,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -197,6 +203,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -239,6 +248,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -299,6 +311,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -339,6 +354,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
testdata/d2compiler/TestCompile/edge_column_index.exp.json
generated
vendored
12
testdata/d2compiler/TestCompile/edge_column_index.exp.json
generated
vendored
|
|
@ -344,6 +344,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -374,6 +377,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -463,6 +469,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "sql_table"
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -550,6 +559,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "sql_table"
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
testdata/d2compiler/TestCompile/edge_exclusive_style.exp.json
generated
vendored
12
testdata/d2compiler/TestCompile/edge_exclusive_style.exp.json
generated
vendored
|
|
@ -111,6 +111,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -143,6 +146,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -185,6 +191,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -225,6 +234,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
15
testdata/d2compiler/TestCompile/edge_flat_arrowhead.exp.json
generated
vendored
15
testdata/d2compiler/TestCompile/edge_flat_arrowhead.exp.json
generated
vendored
|
|
@ -154,6 +154,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -176,6 +179,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "diamond"
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
},
|
||||
"dst_arrow": true,
|
||||
|
|
@ -195,6 +201,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -257,6 +266,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -317,6 +329,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
15
testdata/d2compiler/TestCompile/edge_flat_label_arrowhead.exp.json
generated
vendored
15
testdata/d2compiler/TestCompile/edge_flat_label_arrowhead.exp.json
generated
vendored
|
|
@ -122,6 +122,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -144,6 +147,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
},
|
||||
"dst_arrow": true,
|
||||
|
|
@ -160,6 +166,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -202,6 +211,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -242,6 +254,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/edge_in_column.exp.json
generated
vendored
6
testdata/d2compiler/TestCompile/edge_in_column.exp.json
generated
vendored
|
|
@ -157,6 +157,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -209,6 +212,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "sql_table"
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
testdata/d2compiler/TestCompile/edge_index.exp.json
generated
vendored
12
testdata/d2compiler/TestCompile/edge_index.exp.json
generated
vendored
|
|
@ -137,6 +137,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -168,6 +171,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -230,6 +236,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -290,6 +299,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
testdata/d2compiler/TestCompile/edge_index_map.exp.json
generated
vendored
12
testdata/d2compiler/TestCompile/edge_index_map.exp.json
generated
vendored
|
|
@ -156,6 +156,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -187,6 +190,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -249,6 +255,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -309,6 +318,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
15
testdata/d2compiler/TestCompile/edge_index_nested.exp.json
generated
vendored
15
testdata/d2compiler/TestCompile/edge_index_nested.exp.json
generated
vendored
|
|
@ -166,6 +166,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -197,6 +200,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -239,6 +245,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -299,6 +308,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -359,6 +371,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
15
testdata/d2compiler/TestCompile/edge_index_nested_cross_scope.exp.json
generated
vendored
15
testdata/d2compiler/TestCompile/edge_index_nested_cross_scope.exp.json
generated
vendored
|
|
@ -182,6 +182,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -213,6 +216,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -275,6 +281,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -335,6 +344,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -395,6 +407,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
15
testdata/d2compiler/TestCompile/edge_key_group_flat_nested.exp.json
generated
vendored
15
testdata/d2compiler/TestCompile/edge_key_group_flat_nested.exp.json
generated
vendored
|
|
@ -195,6 +195,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -230,6 +233,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -292,6 +298,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -352,6 +361,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -412,6 +424,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
15
testdata/d2compiler/TestCompile/edge_key_group_flat_nested_underscore.exp.json
generated
vendored
15
testdata/d2compiler/TestCompile/edge_key_group_flat_nested_underscore.exp.json
generated
vendored
|
|
@ -201,6 +201,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -236,6 +239,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -278,6 +284,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -349,6 +358,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -420,6 +432,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
15
testdata/d2compiler/TestCompile/edge_key_group_map_flat_nested_underscore.exp.json
generated
vendored
15
testdata/d2compiler/TestCompile/edge_key_group_map_flat_nested_underscore.exp.json
generated
vendored
|
|
@ -214,6 +214,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -249,6 +252,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -291,6 +297,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -362,6 +371,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -433,6 +445,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
15
testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.exp.json
generated
vendored
15
testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.exp.json
generated
vendored
|
|
@ -232,6 +232,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -267,6 +270,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -309,6 +315,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -380,6 +389,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -451,6 +463,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
testdata/d2compiler/TestCompile/edge_label_map.exp.json
generated
vendored
12
testdata/d2compiler/TestCompile/edge_label_map.exp.json
generated
vendored
|
|
@ -122,6 +122,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -154,6 +157,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -196,6 +202,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -236,6 +245,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
testdata/d2compiler/TestCompile/edge_map.exp.json
generated
vendored
12
testdata/d2compiler/TestCompile/edge_map.exp.json
generated
vendored
|
|
@ -105,6 +105,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -133,6 +136,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -175,6 +181,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -215,6 +224,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
15
testdata/d2compiler/TestCompile/edge_map_arrowhead.exp.json
generated
vendored
15
testdata/d2compiler/TestCompile/edge_map_arrowhead.exp.json
generated
vendored
|
|
@ -134,6 +134,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -156,6 +159,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "diamond"
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
},
|
||||
"dst_arrow": true,
|
||||
|
|
@ -172,6 +178,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -214,6 +223,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -254,6 +266,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
testdata/d2compiler/TestCompile/edge_map_group_flat.exp.json
generated
vendored
12
testdata/d2compiler/TestCompile/edge_map_group_flat.exp.json
generated
vendored
|
|
@ -150,6 +150,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -185,6 +188,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -247,6 +253,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -307,6 +316,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
testdata/d2compiler/TestCompile/edge_map_group_semiflat.exp.json
generated
vendored
12
testdata/d2compiler/TestCompile/edge_map_group_semiflat.exp.json
generated
vendored
|
|
@ -168,6 +168,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -203,6 +206,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -265,6 +271,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -325,6 +334,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
testdata/d2compiler/TestCompile/edge_map_nested.exp.json
generated
vendored
12
testdata/d2compiler/TestCompile/edge_map_nested.exp.json
generated
vendored
|
|
@ -130,6 +130,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -162,6 +165,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -204,6 +210,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -244,6 +253,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
testdata/d2compiler/TestCompile/edge_map_nested_flat.exp.json
generated
vendored
12
testdata/d2compiler/TestCompile/edge_map_nested_flat.exp.json
generated
vendored
|
|
@ -112,6 +112,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -144,6 +147,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -186,6 +192,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -226,6 +235,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
18
testdata/d2compiler/TestCompile/edge_mixed_arrowhead.exp.json
generated
vendored
18
testdata/d2compiler/TestCompile/edge_mixed_arrowhead.exp.json
generated
vendored
|
|
@ -222,6 +222,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -244,6 +247,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "diamond"
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
},
|
||||
"dst_arrow": true,
|
||||
|
|
@ -255,6 +261,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "diamond"
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
},
|
||||
"references": [
|
||||
|
|
@ -273,6 +282,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -335,6 +347,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -395,6 +410,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
15
testdata/d2compiler/TestCompile/edge_non_shape_arrowhead.exp.json
generated
vendored
15
testdata/d2compiler/TestCompile/edge_non_shape_arrowhead.exp.json
generated
vendored
|
|
@ -116,6 +116,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -138,6 +141,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "triangle"
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
},
|
||||
"dst_arrow": true,
|
||||
|
|
@ -154,6 +160,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -196,6 +205,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -236,6 +248,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
15
testdata/d2compiler/TestCompile/edge_semiflat_arrowhead.exp.json
generated
vendored
15
testdata/d2compiler/TestCompile/edge_semiflat_arrowhead.exp.json
generated
vendored
|
|
@ -172,6 +172,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -194,6 +197,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "diamond"
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
},
|
||||
"dst_arrow": true,
|
||||
|
|
@ -213,6 +219,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -275,6 +284,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -335,6 +347,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/escaped_id.exp.json
generated
vendored
6
testdata/d2compiler/TestCompile/escaped_id.exp.json
generated
vendored
|
|
@ -43,6 +43,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -85,6 +88,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/image_style.exp.json
generated
vendored
6
testdata/d2compiler/TestCompile/image_style.exp.json
generated
vendored
|
|
@ -164,6 +164,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -222,6 +225,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "image"
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
9
testdata/d2compiler/TestCompile/nested_sql.exp.json
generated
vendored
9
testdata/d2compiler/TestCompile/nested_sql.exp.json
generated
vendored
|
|
@ -177,6 +177,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -219,6 +222,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -275,6 +281,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "sql_table"
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/path_link.exp.json
generated
vendored
6
testdata/d2compiler/TestCompile/path_link.exp.json
generated
vendored
|
|
@ -82,6 +82,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -125,6 +128,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
9
testdata/d2compiler/TestCompile/reserved_icon_near_style.exp.json
generated
vendored
9
testdata/d2compiler/TestCompile/reserved_icon_near_style.exp.json
generated
vendored
|
|
@ -277,6 +277,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -387,6 +390,9 @@
|
|||
},
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -427,6 +433,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
3
testdata/d2compiler/TestCompile/root_sequence.exp.json
generated
vendored
3
testdata/d2compiler/TestCompile/root_sequence.exp.json
generated
vendored
|
|
@ -53,6 +53,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "sequence_diagram"
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/sql_paren.exp.json
generated
vendored
6
testdata/d2compiler/TestCompile/sql_paren.exp.json
generated
vendored
|
|
@ -158,6 +158,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -216,6 +219,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "sql_table"
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/stroke-width.exp.json
generated
vendored
6
testdata/d2compiler/TestCompile/stroke-width.exp.json
generated
vendored
|
|
@ -89,6 +89,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -135,6 +138,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/table_style.exp.json
generated
vendored
6
testdata/d2compiler/TestCompile/table_style.exp.json
generated
vendored
|
|
@ -155,6 +155,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -211,6 +214,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "sql_table"
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/table_style_map.exp.json
generated
vendored
6
testdata/d2compiler/TestCompile/table_style_map.exp.json
generated
vendored
|
|
@ -206,6 +206,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -262,6 +265,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": "sql_table"
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
testdata/d2compiler/TestCompile/underscore_edge.exp.json
generated
vendored
12
testdata/d2compiler/TestCompile/underscore_edge.exp.json
generated
vendored
|
|
@ -117,6 +117,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -145,6 +148,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -218,6 +224,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -269,6 +278,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
18
testdata/d2compiler/TestCompile/underscore_edge_chain.exp.json
generated
vendored
18
testdata/d2compiler/TestCompile/underscore_edge_chain.exp.json
generated
vendored
|
|
@ -176,6 +176,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -204,6 +207,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -231,6 +237,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -335,6 +344,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -386,6 +398,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -437,6 +452,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
18
testdata/d2compiler/TestCompile/underscore_edge_existing.exp.json
generated
vendored
18
testdata/d2compiler/TestCompile/underscore_edge_existing.exp.json
generated
vendored
|
|
@ -183,6 +183,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -211,6 +214,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -238,6 +244,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -280,6 +289,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -351,6 +363,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -422,6 +437,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
15
testdata/d2compiler/TestCompile/underscore_edge_index.exp.json
generated
vendored
15
testdata/d2compiler/TestCompile/underscore_edge_index.exp.json
generated
vendored
|
|
@ -188,6 +188,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -219,6 +222,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -261,6 +267,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -332,6 +341,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -403,6 +415,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
15
testdata/d2compiler/TestCompile/underscore_edge_nested.exp.json
generated
vendored
15
testdata/d2compiler/TestCompile/underscore_edge_nested.exp.json
generated
vendored
|
|
@ -157,6 +157,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -185,6 +188,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -227,6 +233,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -298,6 +307,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -360,6 +372,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
9
testdata/d2compiler/TestCompile/underscore_parent_create.exp.json
generated
vendored
9
testdata/d2compiler/TestCompile/underscore_parent_create.exp.json
generated
vendored
|
|
@ -83,6 +83,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -125,6 +128,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -176,6 +182,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
testdata/d2compiler/TestCompile/underscore_parent_not_root.exp.json
generated
vendored
12
testdata/d2compiler/TestCompile/underscore_parent_not_root.exp.json
generated
vendored
|
|
@ -112,6 +112,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -154,6 +157,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -194,6 +200,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -245,6 +254,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
9
testdata/d2compiler/TestCompile/underscore_parent_preference_1.exp.json
generated
vendored
9
testdata/d2compiler/TestCompile/underscore_parent_preference_1.exp.json
generated
vendored
|
|
@ -126,6 +126,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -168,6 +171,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -239,6 +245,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
9
testdata/d2compiler/TestCompile/underscore_parent_preference_2.exp.json
generated
vendored
9
testdata/d2compiler/TestCompile/underscore_parent_preference_2.exp.json
generated
vendored
|
|
@ -126,6 +126,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -199,6 +202,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -239,6 +245,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
testdata/d2compiler/TestCompile/underscore_parent_squared.exp.json
generated
vendored
12
testdata/d2compiler/TestCompile/underscore_parent_squared.exp.json
generated
vendored
|
|
@ -123,6 +123,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -165,6 +168,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -205,6 +211,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -267,6 +276,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
testdata/d2compiler/TestCompile/url_link.exp.json
generated
vendored
6
testdata/d2compiler/TestCompile/url_link.exp.json
generated
vendored
|
|
@ -82,6 +82,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -125,6 +128,9 @@
|
|||
"near_key": null,
|
||||
"shape": {
|
||||
"value": ""
|
||||
},
|
||||
"orientation": {
|
||||
"value": "vertical"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue