Merge pull request #394 from ejulio-ts/gh-376-d2chaos
d2chaos: fixes chaos tests
This commit is contained in:
commit
d541e44cd3
9 changed files with 885 additions and 268 deletions
|
|
@ -20,6 +20,7 @@ func GenDSL(maxi int) (_ string, err error) {
|
||||||
rand: mathrand.New(mathrand.NewSource(time.Now().UnixNano())),
|
rand: mathrand.New(mathrand.NewSource(time.Now().UnixNano())),
|
||||||
g: d2graph.NewGraph(&d2ast.Map{}),
|
g: d2graph.NewGraph(&d2ast.Map{}),
|
||||||
nodeShapes: make(map[string]string),
|
nodeShapes: make(map[string]string),
|
||||||
|
nodeContainer: make(map[string]string),
|
||||||
}
|
}
|
||||||
err = gs.gen(maxi)
|
err = gs.gen(maxi)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
@ -34,6 +35,7 @@ type dslGenState struct {
|
||||||
|
|
||||||
nodesArr []string
|
nodesArr []string
|
||||||
nodeShapes map[string]string
|
nodeShapes map[string]string
|
||||||
|
nodeContainer map[string]string
|
||||||
}
|
}
|
||||||
|
|
||||||
func (gs *dslGenState) gen(maxi int) error {
|
func (gs *dslGenState) gen(maxi int) error {
|
||||||
|
|
@ -70,6 +72,7 @@ func (gs *dslGenState) genNode(containerID string) (string, error) {
|
||||||
}
|
}
|
||||||
gs.nodesArr = append(gs.nodesArr, nodeID)
|
gs.nodesArr = append(gs.nodesArr, nodeID)
|
||||||
gs.nodeShapes[nodeID] = "square"
|
gs.nodeShapes[nodeID] = "square"
|
||||||
|
gs.nodeContainer[nodeID] = containerID
|
||||||
return nodeID, nil
|
return nodeID, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -123,7 +126,7 @@ func (gs *dslGenState) edge() error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if src != dst {
|
if gs.findOuterSequenceDiagram(src) == gs.findOuterSequenceDiagram(dst) {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
err = gs.node()
|
err = gs.node()
|
||||||
|
|
@ -194,6 +197,16 @@ func randRune() rune {
|
||||||
return mathrand.Int31n(128) + 1
|
return mathrand.Int31n(128) + 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (gs *dslGenState) findOuterSequenceDiagram(nodeID string) string {
|
||||||
|
for {
|
||||||
|
containerID := gs.nodeContainer[nodeID]
|
||||||
|
if containerID == "" || gs.nodeShapes[containerID] == d2target.ShapeSequenceDiagram {
|
||||||
|
return containerID
|
||||||
|
}
|
||||||
|
nodeID = containerID
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
func String(n int, exclude []rune) string {
|
func String(n int, exclude []rune) string {
|
||||||
var b strings.Builder
|
var b strings.Builder
|
||||||
for i := 0; i < n; i++ {
|
for i := 0; i < n; i++ {
|
||||||
|
|
@ -233,10 +246,7 @@ func (gs *dslGenState) randStr(n int, inKey bool) string {
|
||||||
func (gs *dslGenState) randShape() string {
|
func (gs *dslGenState) randShape() string {
|
||||||
for {
|
for {
|
||||||
s := shapes[gs.rand.Intn(len(shapes))]
|
s := shapes[gs.rand.Intn(len(shapes))]
|
||||||
if s != "image" {
|
if s != d2target.ShapeImage {
|
||||||
return s
|
|
||||||
}
|
|
||||||
if s != "sequence_diagram" {
|
|
||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"math"
|
"math"
|
||||||
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"cdr.dev/slog"
|
"cdr.dev/slog"
|
||||||
|
|
@ -257,7 +258,11 @@ func setGraphAttrs(attrs dagreGraphAttrs) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func escapeID(id string) string {
|
func escapeID(id string) string {
|
||||||
id = strings.ReplaceAll(id, `\n`, `\\n`)
|
// fixes \\
|
||||||
|
id = strings.ReplaceAll(id, "\\", `\\`)
|
||||||
|
// replaces \n with \\n whenever \n is not preceded by \ (does not replace \\n)
|
||||||
|
re := regexp.MustCompile(`[^\\](\n)`)
|
||||||
|
id = re.ReplaceAllString(id, `\\n`)
|
||||||
// avoid an unescaped \r becoming a \n in the layout result
|
// avoid an unescaped \r becoming a \n in the layout result
|
||||||
id = strings.ReplaceAll(id, "\r", `\r`)
|
id = strings.ReplaceAll(id, "\r", `\r`)
|
||||||
return id
|
return id
|
||||||
|
|
|
||||||
|
|
@ -7,11 +7,14 @@ import (
|
||||||
func testRegression(t *testing.T) {
|
func testRegression(t *testing.T) {
|
||||||
tcs := []testCase{
|
tcs := []testCase{
|
||||||
{
|
{
|
||||||
name: "dagre_id_with_newline",
|
name: "dagre_special_ids",
|
||||||
script: `
|
script: `
|
||||||
ninety\nnine
|
ninety\nnine
|
||||||
eighty\reight
|
eighty\reight
|
||||||
seventy\r\nseven
|
seventy\r\nseven
|
||||||
|
a\\yode -> there
|
||||||
|
a\\"ode -> there
|
||||||
|
a\\node -> there
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
126
e2etests/testdata/regression/dagre_id_with_newline/dagre/board.exp.json
generated
vendored
126
e2etests/testdata/regression/dagre_id_with_newline/dagre/board.exp.json
generated
vendored
|
|
@ -1,126 +0,0 @@
|
||||||
{
|
|
||||||
"name": "",
|
|
||||||
"shapes": [
|
|
||||||
{
|
|
||||||
"id": "\"ninety\\nnine\"",
|
|
||||||
"type": "",
|
|
||||||
"pos": {
|
|
||||||
"x": 0,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
"width": 151,
|
|
||||||
"height": 142,
|
|
||||||
"opacity": 1,
|
|
||||||
"strokeDash": 0,
|
|
||||||
"strokeWidth": 2,
|
|
||||||
"borderRadius": 0,
|
|
||||||
"fill": "#F7F8FE",
|
|
||||||
"stroke": "#0D32B2",
|
|
||||||
"shadow": false,
|
|
||||||
"3d": false,
|
|
||||||
"multiple": false,
|
|
||||||
"tooltip": "",
|
|
||||||
"link": "",
|
|
||||||
"icon": null,
|
|
||||||
"iconPosition": "",
|
|
||||||
"blend": false,
|
|
||||||
"fields": null,
|
|
||||||
"methods": null,
|
|
||||||
"columns": null,
|
|
||||||
"label": "ninety\nnine",
|
|
||||||
"fontSize": 16,
|
|
||||||
"fontFamily": "DEFAULT",
|
|
||||||
"language": "",
|
|
||||||
"color": "#0A0F25",
|
|
||||||
"italic": false,
|
|
||||||
"bold": true,
|
|
||||||
"underline": false,
|
|
||||||
"labelWidth": 51,
|
|
||||||
"labelHeight": 42,
|
|
||||||
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
|
||||||
"zIndex": 0,
|
|
||||||
"level": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "eighty\reight",
|
|
||||||
"type": "",
|
|
||||||
"pos": {
|
|
||||||
"x": 211,
|
|
||||||
"y": 8
|
|
||||||
},
|
|
||||||
"width": 151,
|
|
||||||
"height": 126,
|
|
||||||
"opacity": 1,
|
|
||||||
"strokeDash": 0,
|
|
||||||
"strokeWidth": 2,
|
|
||||||
"borderRadius": 0,
|
|
||||||
"fill": "#F7F8FE",
|
|
||||||
"stroke": "#0D32B2",
|
|
||||||
"shadow": false,
|
|
||||||
"3d": false,
|
|
||||||
"multiple": false,
|
|
||||||
"tooltip": "",
|
|
||||||
"link": "",
|
|
||||||
"icon": null,
|
|
||||||
"iconPosition": "",
|
|
||||||
"blend": false,
|
|
||||||
"fields": null,
|
|
||||||
"methods": null,
|
|
||||||
"columns": null,
|
|
||||||
"label": "eighty\reight",
|
|
||||||
"fontSize": 16,
|
|
||||||
"fontFamily": "DEFAULT",
|
|
||||||
"language": "",
|
|
||||||
"color": "#0A0F25",
|
|
||||||
"italic": false,
|
|
||||||
"bold": true,
|
|
||||||
"underline": false,
|
|
||||||
"labelWidth": 51,
|
|
||||||
"labelHeight": 26,
|
|
||||||
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
|
||||||
"zIndex": 0,
|
|
||||||
"level": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "\"seventy\r\\nseven\"",
|
|
||||||
"type": "",
|
|
||||||
"pos": {
|
|
||||||
"x": 422,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
"width": 162,
|
|
||||||
"height": 142,
|
|
||||||
"opacity": 1,
|
|
||||||
"strokeDash": 0,
|
|
||||||
"strokeWidth": 2,
|
|
||||||
"borderRadius": 0,
|
|
||||||
"fill": "#F7F8FE",
|
|
||||||
"stroke": "#0D32B2",
|
|
||||||
"shadow": false,
|
|
||||||
"3d": false,
|
|
||||||
"multiple": false,
|
|
||||||
"tooltip": "",
|
|
||||||
"link": "",
|
|
||||||
"icon": null,
|
|
||||||
"iconPosition": "",
|
|
||||||
"blend": false,
|
|
||||||
"fields": null,
|
|
||||||
"methods": null,
|
|
||||||
"columns": null,
|
|
||||||
"label": "seventy\r\nseven",
|
|
||||||
"fontSize": 16,
|
|
||||||
"fontFamily": "DEFAULT",
|
|
||||||
"language": "",
|
|
||||||
"color": "#0A0F25",
|
|
||||||
"italic": false,
|
|
||||||
"bold": true,
|
|
||||||
"underline": false,
|
|
||||||
"labelWidth": 62,
|
|
||||||
"labelHeight": 42,
|
|
||||||
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
|
||||||
"zIndex": 0,
|
|
||||||
"level": 1
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"connections": []
|
|
||||||
}
|
|
||||||
126
e2etests/testdata/regression/dagre_id_with_newline/elk/board.exp.json
generated
vendored
126
e2etests/testdata/regression/dagre_id_with_newline/elk/board.exp.json
generated
vendored
|
|
@ -1,126 +0,0 @@
|
||||||
{
|
|
||||||
"name": "",
|
|
||||||
"shapes": [
|
|
||||||
{
|
|
||||||
"id": "\"ninety\\nnine\"",
|
|
||||||
"type": "",
|
|
||||||
"pos": {
|
|
||||||
"x": 194,
|
|
||||||
"y": 12
|
|
||||||
},
|
|
||||||
"width": 151,
|
|
||||||
"height": 142,
|
|
||||||
"opacity": 1,
|
|
||||||
"strokeDash": 0,
|
|
||||||
"strokeWidth": 2,
|
|
||||||
"borderRadius": 0,
|
|
||||||
"fill": "#F7F8FE",
|
|
||||||
"stroke": "#0D32B2",
|
|
||||||
"shadow": false,
|
|
||||||
"3d": false,
|
|
||||||
"multiple": false,
|
|
||||||
"tooltip": "",
|
|
||||||
"link": "",
|
|
||||||
"icon": null,
|
|
||||||
"iconPosition": "",
|
|
||||||
"blend": false,
|
|
||||||
"fields": null,
|
|
||||||
"methods": null,
|
|
||||||
"columns": null,
|
|
||||||
"label": "ninety\nnine",
|
|
||||||
"fontSize": 16,
|
|
||||||
"fontFamily": "DEFAULT",
|
|
||||||
"language": "",
|
|
||||||
"color": "#0A0F25",
|
|
||||||
"italic": false,
|
|
||||||
"bold": true,
|
|
||||||
"underline": false,
|
|
||||||
"labelWidth": 51,
|
|
||||||
"labelHeight": 42,
|
|
||||||
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
|
||||||
"zIndex": 0,
|
|
||||||
"level": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "eighty\reight",
|
|
||||||
"type": "",
|
|
||||||
"pos": {
|
|
||||||
"x": 365,
|
|
||||||
"y": 20
|
|
||||||
},
|
|
||||||
"width": 151,
|
|
||||||
"height": 126,
|
|
||||||
"opacity": 1,
|
|
||||||
"strokeDash": 0,
|
|
||||||
"strokeWidth": 2,
|
|
||||||
"borderRadius": 0,
|
|
||||||
"fill": "#F7F8FE",
|
|
||||||
"stroke": "#0D32B2",
|
|
||||||
"shadow": false,
|
|
||||||
"3d": false,
|
|
||||||
"multiple": false,
|
|
||||||
"tooltip": "",
|
|
||||||
"link": "",
|
|
||||||
"icon": null,
|
|
||||||
"iconPosition": "",
|
|
||||||
"blend": false,
|
|
||||||
"fields": null,
|
|
||||||
"methods": null,
|
|
||||||
"columns": null,
|
|
||||||
"label": "eighty\reight",
|
|
||||||
"fontSize": 16,
|
|
||||||
"fontFamily": "DEFAULT",
|
|
||||||
"language": "",
|
|
||||||
"color": "#0A0F25",
|
|
||||||
"italic": false,
|
|
||||||
"bold": true,
|
|
||||||
"underline": false,
|
|
||||||
"labelWidth": 51,
|
|
||||||
"labelHeight": 26,
|
|
||||||
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
|
||||||
"zIndex": 0,
|
|
||||||
"level": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "\"seventy\r\\nseven\"",
|
|
||||||
"type": "",
|
|
||||||
"pos": {
|
|
||||||
"x": 12,
|
|
||||||
"y": 12
|
|
||||||
},
|
|
||||||
"width": 162,
|
|
||||||
"height": 142,
|
|
||||||
"opacity": 1,
|
|
||||||
"strokeDash": 0,
|
|
||||||
"strokeWidth": 2,
|
|
||||||
"borderRadius": 0,
|
|
||||||
"fill": "#F7F8FE",
|
|
||||||
"stroke": "#0D32B2",
|
|
||||||
"shadow": false,
|
|
||||||
"3d": false,
|
|
||||||
"multiple": false,
|
|
||||||
"tooltip": "",
|
|
||||||
"link": "",
|
|
||||||
"icon": null,
|
|
||||||
"iconPosition": "",
|
|
||||||
"blend": false,
|
|
||||||
"fields": null,
|
|
||||||
"methods": null,
|
|
||||||
"columns": null,
|
|
||||||
"label": "seventy\r\nseven",
|
|
||||||
"fontSize": 16,
|
|
||||||
"fontFamily": "DEFAULT",
|
|
||||||
"language": "",
|
|
||||||
"color": "#0A0F25",
|
|
||||||
"italic": false,
|
|
||||||
"bold": true,
|
|
||||||
"underline": false,
|
|
||||||
"labelWidth": 62,
|
|
||||||
"labelHeight": 42,
|
|
||||||
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
|
||||||
"zIndex": 0,
|
|
||||||
"level": 1
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"connections": []
|
|
||||||
}
|
|
||||||
431
e2etests/testdata/regression/dagre_special_ids/dagre/board.exp.json
generated
vendored
Normal file
431
e2etests/testdata/regression/dagre_special_ids/dagre/board.exp.json
generated
vendored
Normal file
|
|
@ -0,0 +1,431 @@
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"shapes": [
|
||||||
|
{
|
||||||
|
"id": "\"ninety\\nnine\"",
|
||||||
|
"type": "",
|
||||||
|
"pos": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"width": 151,
|
||||||
|
"height": 142,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 0,
|
||||||
|
"fill": "#F7F8FE",
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "ninety\nnine",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#0A0F25",
|
||||||
|
"italic": false,
|
||||||
|
"bold": true,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 51,
|
||||||
|
"labelHeight": 42,
|
||||||
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "eighty\reight",
|
||||||
|
"type": "",
|
||||||
|
"pos": {
|
||||||
|
"x": 211,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"width": 151,
|
||||||
|
"height": 126,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 0,
|
||||||
|
"fill": "#F7F8FE",
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "eighty\reight",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#0A0F25",
|
||||||
|
"italic": false,
|
||||||
|
"bold": true,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 51,
|
||||||
|
"labelHeight": 26,
|
||||||
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "\"seventy\r\\nseven\"",
|
||||||
|
"type": "",
|
||||||
|
"pos": {
|
||||||
|
"x": 422,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"width": 162,
|
||||||
|
"height": 142,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 0,
|
||||||
|
"fill": "#F7F8FE",
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "seventy\r\nseven",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#0A0F25",
|
||||||
|
"italic": false,
|
||||||
|
"bold": true,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 62,
|
||||||
|
"labelHeight": 42,
|
||||||
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "\"a\\\\yode\"",
|
||||||
|
"type": "",
|
||||||
|
"pos": {
|
||||||
|
"x": 644,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"width": 154,
|
||||||
|
"height": 126,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 0,
|
||||||
|
"fill": "#F7F8FE",
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "a\\yode",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#0A0F25",
|
||||||
|
"italic": false,
|
||||||
|
"bold": true,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 54,
|
||||||
|
"labelHeight": 26,
|
||||||
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "there",
|
||||||
|
"type": "",
|
||||||
|
"pos": {
|
||||||
|
"x": 864,
|
||||||
|
"y": 242
|
||||||
|
},
|
||||||
|
"width": 143,
|
||||||
|
"height": 126,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 0,
|
||||||
|
"fill": "#F7F8FE",
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "there",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#0A0F25",
|
||||||
|
"italic": false,
|
||||||
|
"bold": true,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 43,
|
||||||
|
"labelHeight": 26,
|
||||||
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "'a\\\"ode'",
|
||||||
|
"type": "",
|
||||||
|
"pos": {
|
||||||
|
"x": 858,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"width": 154,
|
||||||
|
"height": 126,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 0,
|
||||||
|
"fill": "#F7F8FE",
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "a\\\"ode",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#0A0F25",
|
||||||
|
"italic": false,
|
||||||
|
"bold": true,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 54,
|
||||||
|
"labelHeight": 26,
|
||||||
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "\"a\\\\node\"",
|
||||||
|
"type": "",
|
||||||
|
"pos": {
|
||||||
|
"x": 1072,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"width": 155,
|
||||||
|
"height": 126,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 0,
|
||||||
|
"fill": "#F7F8FE",
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "a\\node",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#0A0F25",
|
||||||
|
"italic": false,
|
||||||
|
"bold": true,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 55,
|
||||||
|
"labelHeight": 26,
|
||||||
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"connections": [
|
||||||
|
{
|
||||||
|
"id": "(\"a\\\\yode\" -> there)[0]",
|
||||||
|
"src": "\"a\\\\yode\"",
|
||||||
|
"srcArrow": "none",
|
||||||
|
"srcLabel": "",
|
||||||
|
"dst": "there",
|
||||||
|
"dstArrow": "triangle",
|
||||||
|
"dstLabel": "",
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"label": "",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#676C7E",
|
||||||
|
"italic": true,
|
||||||
|
"bold": false,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 0,
|
||||||
|
"labelHeight": 0,
|
||||||
|
"labelPosition": "",
|
||||||
|
"labelPercentage": 0,
|
||||||
|
"route": [
|
||||||
|
{
|
||||||
|
"x": 721,
|
||||||
|
"y": 134
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 721,
|
||||||
|
"y": 180.4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 749.5,
|
||||||
|
"y": 207.04906542056074
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 863.5,
|
||||||
|
"y": 267.24532710280374
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"isCurve": true,
|
||||||
|
"animated": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"icon": null,
|
||||||
|
"zIndex": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "('a\\\"ode' -> there)[0]",
|
||||||
|
"src": "'a\\\"ode'",
|
||||||
|
"srcArrow": "none",
|
||||||
|
"srcLabel": "",
|
||||||
|
"dst": "there",
|
||||||
|
"dstArrow": "triangle",
|
||||||
|
"dstLabel": "",
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"label": "",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#676C7E",
|
||||||
|
"italic": true,
|
||||||
|
"bold": false,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 0,
|
||||||
|
"labelHeight": 0,
|
||||||
|
"labelPosition": "",
|
||||||
|
"labelPercentage": 0,
|
||||||
|
"route": [
|
||||||
|
{
|
||||||
|
"x": 935,
|
||||||
|
"y": 134
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 935,
|
||||||
|
"y": 180.4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 935,
|
||||||
|
"y": 202
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 935,
|
||||||
|
"y": 242
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"isCurve": true,
|
||||||
|
"animated": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"icon": null,
|
||||||
|
"zIndex": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "(\"a\\\\node\" -> there)[0]",
|
||||||
|
"src": "\"a\\\\node\"",
|
||||||
|
"srcArrow": "none",
|
||||||
|
"srcLabel": "",
|
||||||
|
"dst": "there",
|
||||||
|
"dstArrow": "triangle",
|
||||||
|
"dstLabel": "",
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"label": "",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#676C7E",
|
||||||
|
"italic": true,
|
||||||
|
"bold": false,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 0,
|
||||||
|
"labelHeight": 0,
|
||||||
|
"labelPosition": "",
|
||||||
|
"labelPercentage": 0,
|
||||||
|
"route": [
|
||||||
|
{
|
||||||
|
"x": 1149.5,
|
||||||
|
"y": 134
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 1149.5,
|
||||||
|
"y": 180.4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 1120.9,
|
||||||
|
"y": 207
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 1006.5,
|
||||||
|
"y": 267
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"isCurve": true,
|
||||||
|
"animated": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"icon": null,
|
||||||
|
"zIndex": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<svg
|
<svg
|
||||||
style="background: white;"
|
style="background: white;"
|
||||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
width="784" height="342" viewBox="-100 -100 784 342"><style type="text/css">
|
width="1427" height="568" viewBox="-100 -100 1427 568"><style type="text/css">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
.shape {
|
.shape {
|
||||||
shape-rendering: geometricPrecision;
|
shape-rendering: geometricPrecision;
|
||||||
|
|
@ -18,7 +18,7 @@ width="784" height="342" viewBox="-100 -100 784 342"><style type="text/css">
|
||||||
}
|
}
|
||||||
|
|
||||||
]]>
|
]]>
|
||||||
</style><g id=""ninety\nnine""><g class="shape" ><rect x="0" y="0" width="151" height="142" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="75.500000" y="66.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25"><tspan x="75.500000" dy="0.000000">ninety</tspan><tspan x="75.500000" dy="21.000000">nine</tspan></text></g><g id="eighty
eight"><g class="shape" ><rect x="211" y="8" width="151" height="126" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="286.500000" y="74.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25">eighty
eight</text></g><g id=""seventy
\nseven""><g class="shape" ><rect x="422" y="0" width="162" height="142" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="503.000000" y="66.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25"><tspan x="503.000000" dy="0.000000">seventy
</tspan><tspan x="503.000000" dy="21.000000">seven</tspan></text></g><style type="text/css"><![CDATA[
|
</style><g id=""ninety\nnine""><g class="shape" ><rect x="0" y="0" width="151" height="142" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="75.500000" y="66.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25"><tspan x="75.500000" dy="0.000000">ninety</tspan><tspan x="75.500000" dy="21.000000">nine</tspan></text></g><g id="eighty
eight"><g class="shape" ><rect x="211" y="8" width="151" height="126" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="286.500000" y="74.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25">eighty
eight</text></g><g id=""seventy
\nseven""><g class="shape" ><rect x="422" y="0" width="162" height="142" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="503.000000" y="66.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25"><tspan x="503.000000" dy="0.000000">seventy
</tspan><tspan x="503.000000" dy="21.000000">seven</tspan></text></g><g id=""a\\yode""><g class="shape" ><rect x="644" y="8" width="154" height="126" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="721.000000" y="74.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25">a\yode</text></g><g id="there"><g class="shape" ><rect x="864" y="242" width="143" height="126" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="935.500000" y="308.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25">there</text></g><g id="'a\"ode'"><g class="shape" ><rect x="858" y="8" width="154" height="126" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="935.000000" y="74.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25">a\"ode</text></g><g id=""a\\node""><g class="shape" ><rect x="1072" y="8" width="155" height="126" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="1149.500000" y="74.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25">a\node</text></g><g id="("a\\yode" -> there)[0]"><marker id="mk-3990223579" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon class="connection" fill="#0D32B2" stroke-width="2" points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" /> </marker><path d="M 721.000000 136.000000 C 721.000000 180.400000 749.500000 207.049065 859.962840 265.377574" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#4049001157)"/></g><g id="('a\"ode' -> there)[0]"><path d="M 935.000000 136.000000 C 935.000000 180.400000 935.000000 202.000000 935.000000 238.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#4049001157)"/></g><g id="("a\\node" -> there)[0]"><path d="M 1149.500000 136.000000 C 1149.500000 180.400000 1120.900000 207.000000 1010.042356 265.142121" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#4049001157)"/></g><style type="text/css"><![CDATA[
|
||||||
.text-bold {
|
.text-bold {
|
||||||
font-family: "font-bold";
|
font-family: "font-bold";
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 324 KiB After Width: | Height: | Size: 327 KiB |
420
e2etests/testdata/regression/dagre_special_ids/elk/board.exp.json
generated
vendored
Normal file
420
e2etests/testdata/regression/dagre_special_ids/elk/board.exp.json
generated
vendored
Normal file
|
|
@ -0,0 +1,420 @@
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"shapes": [
|
||||||
|
{
|
||||||
|
"id": "\"ninety\\nnine\"",
|
||||||
|
"type": "",
|
||||||
|
"pos": {
|
||||||
|
"x": 714,
|
||||||
|
"y": 12
|
||||||
|
},
|
||||||
|
"width": 151,
|
||||||
|
"height": 142,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 0,
|
||||||
|
"fill": "#F7F8FE",
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "ninety\nnine",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#0A0F25",
|
||||||
|
"italic": false,
|
||||||
|
"bold": true,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 51,
|
||||||
|
"labelHeight": 42,
|
||||||
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "eighty\reight",
|
||||||
|
"type": "",
|
||||||
|
"pos": {
|
||||||
|
"x": 194,
|
||||||
|
"y": 20
|
||||||
|
},
|
||||||
|
"width": 151,
|
||||||
|
"height": 126,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 0,
|
||||||
|
"fill": "#F7F8FE",
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "eighty\reight",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#0A0F25",
|
||||||
|
"italic": false,
|
||||||
|
"bold": true,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 51,
|
||||||
|
"labelHeight": 26,
|
||||||
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "\"seventy\r\\nseven\"",
|
||||||
|
"type": "",
|
||||||
|
"pos": {
|
||||||
|
"x": 12,
|
||||||
|
"y": 12
|
||||||
|
},
|
||||||
|
"width": 162,
|
||||||
|
"height": 142,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 0,
|
||||||
|
"fill": "#F7F8FE",
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "seventy\r\nseven",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#0A0F25",
|
||||||
|
"italic": false,
|
||||||
|
"bold": true,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 62,
|
||||||
|
"labelHeight": 42,
|
||||||
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "\"a\\\\yode\"",
|
||||||
|
"type": "",
|
||||||
|
"pos": {
|
||||||
|
"x": 885,
|
||||||
|
"y": 28
|
||||||
|
},
|
||||||
|
"width": 154,
|
||||||
|
"height": 126,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 0,
|
||||||
|
"fill": "#F7F8FE",
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "a\\yode",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#0A0F25",
|
||||||
|
"italic": false,
|
||||||
|
"bold": true,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 54,
|
||||||
|
"labelHeight": 26,
|
||||||
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "there",
|
||||||
|
"type": "",
|
||||||
|
"pos": {
|
||||||
|
"x": 546,
|
||||||
|
"y": 254
|
||||||
|
},
|
||||||
|
"width": 143,
|
||||||
|
"height": 126,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 0,
|
||||||
|
"fill": "#F7F8FE",
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "there",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#0A0F25",
|
||||||
|
"italic": false,
|
||||||
|
"bold": true,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 43,
|
||||||
|
"labelHeight": 26,
|
||||||
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "'a\\\"ode'",
|
||||||
|
"type": "",
|
||||||
|
"pos": {
|
||||||
|
"x": 540,
|
||||||
|
"y": 28
|
||||||
|
},
|
||||||
|
"width": 154,
|
||||||
|
"height": 126,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 0,
|
||||||
|
"fill": "#F7F8FE",
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "a\\\"ode",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#0A0F25",
|
||||||
|
"italic": false,
|
||||||
|
"bold": true,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 54,
|
||||||
|
"labelHeight": 26,
|
||||||
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "\"a\\\\node\"",
|
||||||
|
"type": "",
|
||||||
|
"pos": {
|
||||||
|
"x": 365,
|
||||||
|
"y": 28
|
||||||
|
},
|
||||||
|
"width": 155,
|
||||||
|
"height": 126,
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"borderRadius": 0,
|
||||||
|
"fill": "#F7F8FE",
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"shadow": false,
|
||||||
|
"3d": false,
|
||||||
|
"multiple": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"link": "",
|
||||||
|
"icon": null,
|
||||||
|
"iconPosition": "",
|
||||||
|
"blend": false,
|
||||||
|
"fields": null,
|
||||||
|
"methods": null,
|
||||||
|
"columns": null,
|
||||||
|
"label": "a\\node",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#0A0F25",
|
||||||
|
"italic": false,
|
||||||
|
"bold": true,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 55,
|
||||||
|
"labelHeight": 26,
|
||||||
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
||||||
|
"zIndex": 0,
|
||||||
|
"level": 1
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"connections": [
|
||||||
|
{
|
||||||
|
"id": "(\"a\\\\yode\" -> there)[0]",
|
||||||
|
"src": "\"a\\\\yode\"",
|
||||||
|
"srcArrow": "none",
|
||||||
|
"srcLabel": "",
|
||||||
|
"dst": "there",
|
||||||
|
"dstArrow": "triangle",
|
||||||
|
"dstLabel": "",
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"label": "",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#676C7E",
|
||||||
|
"italic": true,
|
||||||
|
"bold": false,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 0,
|
||||||
|
"labelHeight": 0,
|
||||||
|
"labelPosition": "",
|
||||||
|
"labelPercentage": 0,
|
||||||
|
"route": [
|
||||||
|
{
|
||||||
|
"x": 962,
|
||||||
|
"y": 154
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 962,
|
||||||
|
"y": 204
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 652.75,
|
||||||
|
"y": 204
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 652.75,
|
||||||
|
"y": 254
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"animated": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"icon": null,
|
||||||
|
"zIndex": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "('a\\\"ode' -> there)[0]",
|
||||||
|
"src": "'a\\\"ode'",
|
||||||
|
"srcArrow": "none",
|
||||||
|
"srcLabel": "",
|
||||||
|
"dst": "there",
|
||||||
|
"dstArrow": "triangle",
|
||||||
|
"dstLabel": "",
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"label": "",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#676C7E",
|
||||||
|
"italic": true,
|
||||||
|
"bold": false,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 0,
|
||||||
|
"labelHeight": 0,
|
||||||
|
"labelPosition": "",
|
||||||
|
"labelPercentage": 0,
|
||||||
|
"route": [
|
||||||
|
{
|
||||||
|
"x": 617,
|
||||||
|
"y": 154
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 617,
|
||||||
|
"y": 254
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"animated": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"icon": null,
|
||||||
|
"zIndex": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "(\"a\\\\node\" -> there)[0]",
|
||||||
|
"src": "\"a\\\\node\"",
|
||||||
|
"srcArrow": "none",
|
||||||
|
"srcLabel": "",
|
||||||
|
"dst": "there",
|
||||||
|
"dstArrow": "triangle",
|
||||||
|
"dstLabel": "",
|
||||||
|
"opacity": 1,
|
||||||
|
"strokeDash": 0,
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"stroke": "#0D32B2",
|
||||||
|
"label": "",
|
||||||
|
"fontSize": 16,
|
||||||
|
"fontFamily": "DEFAULT",
|
||||||
|
"language": "",
|
||||||
|
"color": "#676C7E",
|
||||||
|
"italic": true,
|
||||||
|
"bold": false,
|
||||||
|
"underline": false,
|
||||||
|
"labelWidth": 0,
|
||||||
|
"labelHeight": 0,
|
||||||
|
"labelPosition": "",
|
||||||
|
"labelPercentage": 0,
|
||||||
|
"route": [
|
||||||
|
{
|
||||||
|
"x": 442.5,
|
||||||
|
"y": 154
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 442.5,
|
||||||
|
"y": 204
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 581.25,
|
||||||
|
"y": 204
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"x": 581.25,
|
||||||
|
"y": 254
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"animated": false,
|
||||||
|
"tooltip": "",
|
||||||
|
"icon": null,
|
||||||
|
"zIndex": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<svg
|
<svg
|
||||||
style="background: white;"
|
style="background: white;"
|
||||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
width="704" height="342" viewBox="-88 -88 704 342"><style type="text/css">
|
width="1227" height="568" viewBox="-88 -88 1227 568"><style type="text/css">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
.shape {
|
.shape {
|
||||||
shape-rendering: geometricPrecision;
|
shape-rendering: geometricPrecision;
|
||||||
|
|
@ -18,7 +18,7 @@ width="704" height="342" viewBox="-88 -88 704 342"><style type="text/css">
|
||||||
}
|
}
|
||||||
|
|
||||||
]]>
|
]]>
|
||||||
</style><g id=""ninety\nnine""><g class="shape" ><rect x="194" y="12" width="151" height="142" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="269.500000" y="78.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25"><tspan x="269.500000" dy="0.000000">ninety</tspan><tspan x="269.500000" dy="21.000000">nine</tspan></text></g><g id="eighty
eight"><g class="shape" ><rect x="365" y="20" width="151" height="126" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="440.500000" y="86.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25">eighty
eight</text></g><g id=""seventy
\nseven""><g class="shape" ><rect x="12" y="12" width="162" height="142" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="93.000000" y="78.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25"><tspan x="93.000000" dy="0.000000">seventy
</tspan><tspan x="93.000000" dy="21.000000">seven</tspan></text></g><style type="text/css"><![CDATA[
|
</style><g id=""ninety\nnine""><g class="shape" ><rect x="714" y="12" width="151" height="142" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="789.500000" y="78.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25"><tspan x="789.500000" dy="0.000000">ninety</tspan><tspan x="789.500000" dy="21.000000">nine</tspan></text></g><g id="eighty
eight"><g class="shape" ><rect x="194" y="20" width="151" height="126" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="269.500000" y="86.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25">eighty
eight</text></g><g id=""seventy
\nseven""><g class="shape" ><rect x="12" y="12" width="162" height="142" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="93.000000" y="78.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25"><tspan x="93.000000" dy="0.000000">seventy
</tspan><tspan x="93.000000" dy="21.000000">seven</tspan></text></g><g id=""a\\yode""><g class="shape" ><rect x="885" y="28" width="154" height="126" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="962.000000" y="94.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25">a\yode</text></g><g id="there"><g class="shape" ><rect x="546" y="254" width="143" height="126" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="617.500000" y="320.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25">there</text></g><g id="'a\"ode'"><g class="shape" ><rect x="540" y="28" width="154" height="126" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="617.000000" y="94.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25">a\"ode</text></g><g id=""a\\node""><g class="shape" ><rect x="365" y="28" width="155" height="126" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g><text class="text-bold" x="442.500000" y="94.000000" style="text-anchor:middle;font-size:16px;fill:#0A0F25">a\node</text></g><g id="("a\\yode" -> there)[0]"><marker id="mk-3990223579" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon class="connection" fill="#0D32B2" stroke-width="2" points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" /> </marker><path d="M 962.000000 156.000000 L 962.000000 194.000000 S 962.000000 204.000000 952.000000 204.000000 L 662.750000 204.000000 S 652.750000 204.000000 652.750000 214.000000 L 652.750000 250.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#3044386072)"/></g><g id="('a\"ode' -> there)[0]"><path d="M 617.000000 156.000000 L 617.000000 250.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#3044386072)"/></g><g id="("a\\node" -> there)[0]"><path d="M 442.500000 156.000000 L 442.500000 194.000000 S 442.500000 204.000000 452.500000 204.000000 L 571.250000 204.000000 S 581.250000 204.000000 581.250000 214.000000 L 581.250000 250.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#3044386072)"/></g><style type="text/css"><![CDATA[
|
||||||
.text-bold {
|
.text-bold {
|
||||||
font-family: "font-bold";
|
font-family: "font-bold";
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 324 KiB After Width: | Height: | Size: 327 KiB |
Loading…
Reference in a new issue