e2etests/testdata: Fix
This commit is contained in:
parent
5268829b59
commit
9384800435
5 changed files with 27 additions and 103 deletions
|
|
@ -33,7 +33,7 @@ func (obj *Object) IsSequenceDiagramGroup() bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return len(obj.ChildrenArray) > 0 || obj.ContainsAnyEdge(obj.Graph.Edges)
|
return obj.ContainsAnyObject(obj.Graph.Objects) || obj.ContainsAnyEdge(obj.Graph.Edges)
|
||||||
}
|
}
|
||||||
|
|
||||||
// notes are descendant of actors with no edges and no children
|
// notes are descendant of actors with no edges and no children
|
||||||
|
|
|
||||||
57
e2etests/testdata/stable/sequence_diagram_groups/dagre/board.exp.json
generated
vendored
57
e2etests/testdata/stable/sequence_diagram_groups/dagre/board.exp.json
generated
vendored
|
|
@ -495,16 +495,16 @@
|
||||||
"id": "choo",
|
"id": "choo",
|
||||||
"type": "rectangle",
|
"type": "rectangle",
|
||||||
"pos": {
|
"pos": {
|
||||||
"x": 1024,
|
"x": 717,
|
||||||
"y": 74
|
"y": 1846
|
||||||
},
|
},
|
||||||
"width": 150,
|
"width": 254,
|
||||||
"height": 126,
|
"height": 216,
|
||||||
"opacity": 1,
|
"opacity": 1,
|
||||||
"strokeDash": 0,
|
"strokeDash": 0,
|
||||||
"strokeWidth": 2,
|
"strokeWidth": 0,
|
||||||
"borderRadius": 0,
|
"borderRadius": 0,
|
||||||
"fill": "#EDF0FD",
|
"fill": "#DEE1EB",
|
||||||
"stroke": "#0D32B2",
|
"stroke": "#0D32B2",
|
||||||
"shadow": false,
|
"shadow": false,
|
||||||
"3d": false,
|
"3d": false,
|
||||||
|
|
@ -514,7 +514,7 @@
|
||||||
"link": "",
|
"link": "",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"iconPosition": "",
|
"iconPosition": "",
|
||||||
"blend": false,
|
"blend": true,
|
||||||
"fields": null,
|
"fields": null,
|
||||||
"methods": null,
|
"methods": null,
|
||||||
"columns": null,
|
"columns": null,
|
||||||
|
|
@ -528,8 +528,8 @@
|
||||||
"underline": false,
|
"underline": false,
|
||||||
"labelWidth": 38,
|
"labelWidth": 38,
|
||||||
"labelHeight": 26,
|
"labelHeight": 26,
|
||||||
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
"labelPosition": "INSIDE_TOP_LEFT",
|
||||||
"zIndex": 0,
|
"zIndex": 3,
|
||||||
"level": 1
|
"level": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -1120,45 +1120,6 @@
|
||||||
"tooltip": "",
|
"tooltip": "",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"zIndex": 1
|
"zIndex": 1
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "(choo -- )[0]",
|
|
||||||
"src": "choo",
|
|
||||||
"srcArrow": "none",
|
|
||||||
"srcLabel": "",
|
|
||||||
"dst": "choo-lifeline-end-3474163975",
|
|
||||||
"dstArrow": "none",
|
|
||||||
"dstLabel": "",
|
|
||||||
"opacity": 1,
|
|
||||||
"strokeDash": 6,
|
|
||||||
"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": 1099,
|
|
||||||
"y": 200
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 1099,
|
|
||||||
"y": 2142
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"animated": false,
|
|
||||||
"tooltip": "",
|
|
||||||
"icon": null,
|
|
||||||
"zIndex": 1
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 477 KiB After Width: | Height: | Size: 477 KiB |
57
e2etests/testdata/stable/sequence_diagram_groups/elk/board.exp.json
generated
vendored
57
e2etests/testdata/stable/sequence_diagram_groups/elk/board.exp.json
generated
vendored
|
|
@ -495,16 +495,16 @@
|
||||||
"id": "choo",
|
"id": "choo",
|
||||||
"type": "rectangle",
|
"type": "rectangle",
|
||||||
"pos": {
|
"pos": {
|
||||||
"x": 1024,
|
"x": 717,
|
||||||
"y": 74
|
"y": 1846
|
||||||
},
|
},
|
||||||
"width": 150,
|
"width": 254,
|
||||||
"height": 126,
|
"height": 216,
|
||||||
"opacity": 1,
|
"opacity": 1,
|
||||||
"strokeDash": 0,
|
"strokeDash": 0,
|
||||||
"strokeWidth": 2,
|
"strokeWidth": 0,
|
||||||
"borderRadius": 0,
|
"borderRadius": 0,
|
||||||
"fill": "#EDF0FD",
|
"fill": "#DEE1EB",
|
||||||
"stroke": "#0D32B2",
|
"stroke": "#0D32B2",
|
||||||
"shadow": false,
|
"shadow": false,
|
||||||
"3d": false,
|
"3d": false,
|
||||||
|
|
@ -514,7 +514,7 @@
|
||||||
"link": "",
|
"link": "",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"iconPosition": "",
|
"iconPosition": "",
|
||||||
"blend": false,
|
"blend": true,
|
||||||
"fields": null,
|
"fields": null,
|
||||||
"methods": null,
|
"methods": null,
|
||||||
"columns": null,
|
"columns": null,
|
||||||
|
|
@ -528,8 +528,8 @@
|
||||||
"underline": false,
|
"underline": false,
|
||||||
"labelWidth": 38,
|
"labelWidth": 38,
|
||||||
"labelHeight": 26,
|
"labelHeight": 26,
|
||||||
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
"labelPosition": "INSIDE_TOP_LEFT",
|
||||||
"zIndex": 0,
|
"zIndex": 3,
|
||||||
"level": 1
|
"level": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -1120,45 +1120,6 @@
|
||||||
"tooltip": "",
|
"tooltip": "",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"zIndex": 1
|
"zIndex": 1
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "(choo -- )[0]",
|
|
||||||
"src": "choo",
|
|
||||||
"srcArrow": "none",
|
|
||||||
"srcLabel": "",
|
|
||||||
"dst": "choo-lifeline-end-3474163975",
|
|
||||||
"dstArrow": "none",
|
|
||||||
"dstLabel": "",
|
|
||||||
"opacity": 1,
|
|
||||||
"strokeDash": 6,
|
|
||||||
"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": 1099,
|
|
||||||
"y": 200
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 1099,
|
|
||||||
"y": 2142
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"animated": false,
|
|
||||||
"tooltip": "",
|
|
||||||
"icon": null,
|
|
||||||
"zIndex": 1
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 477 KiB After Width: | Height: | Size: 477 KiB |
Loading…
Reference in a new issue