try
This commit is contained in:
parent
bcf1a001e0
commit
9e47cf03dc
5 changed files with 173 additions and 173 deletions
|
|
@ -119,7 +119,7 @@ func createCircularArc(edge *d2graph.Edge) {
|
||||||
tangentX /= mag
|
tangentX /= mag
|
||||||
tangentY /= mag
|
tangentY /= mag
|
||||||
}
|
}
|
||||||
const MIN_SEGMENT_LEN = 2.0
|
const MIN_SEGMENT_LEN = 3.0
|
||||||
// Calculate current segment direction
|
// Calculate current segment direction
|
||||||
dx := lastPoint.X - secondLastPoint.X
|
dx := lastPoint.X - secondLastPoint.X
|
||||||
dy := lastPoint.Y - secondLastPoint.Y
|
dy := lastPoint.Y - secondLastPoint.Y
|
||||||
|
|
|
||||||
20
e2etests/testdata/txtar/cycle-diagram/dagre/board.exp.json
generated
vendored
20
e2etests/testdata/txtar/cycle-diagram/dagre/board.exp.json
generated
vendored
|
|
@ -864,8 +864,8 @@
|
||||||
"y": -37.47600173950195
|
"y": -37.47600173950195
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 196.9219970703125,
|
"x": 196.7570037841797,
|
||||||
"y": -34.97200012207031
|
"y": -35.95800018310547
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 197.2519989013672,
|
"x": 197.2519989013672,
|
||||||
|
|
@ -1228,8 +1228,8 @@
|
||||||
"y": 197.53700256347656
|
"y": 197.53700256347656
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 28.48200035095215,
|
"x": 29.472999572753906,
|
||||||
"y": 197.96499633789062
|
"y": 197.83200073242188
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 26.5,
|
"x": 26.5,
|
||||||
|
|
@ -1592,8 +1592,8 @@
|
||||||
"y": 37.47600173950195
|
"y": 37.47600173950195
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": -196.9219970703125,
|
"x": -196.7570037841797,
|
||||||
"y": 34.97200012207031
|
"y": 35.95800018310547
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": -197.2519989013672,
|
"x": -197.2519989013672,
|
||||||
|
|
@ -1972,8 +1972,8 @@
|
||||||
"y": 111.8030014038086
|
"y": 111.8030014038086
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 702.10302734375,
|
"x": 702.43798828125,
|
||||||
"y": 115.11499786376953
|
"y": 114.1729965209961
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 701.4329833984375,
|
"x": 701.4329833984375,
|
||||||
|
|
@ -2336,8 +2336,8 @@
|
||||||
"y": 186.90899658203125
|
"y": 186.90899658203125
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 364.97198486328125,
|
"x": 365.6369934082031,
|
||||||
"y": 184.4929962158203
|
"y": 185.24000549316406
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 363.6419982910156,
|
"x": 363.6419982910156,
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
20
e2etests/testdata/txtar/cycle-diagram/elk/board.exp.json
generated
vendored
20
e2etests/testdata/txtar/cycle-diagram/elk/board.exp.json
generated
vendored
|
|
@ -864,8 +864,8 @@
|
||||||
"y": -25.47599983215332
|
"y": -25.47599983215332
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 208.9219970703125,
|
"x": 208.7570037841797,
|
||||||
"y": -22.972000122070312
|
"y": -23.95800018310547
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 209.2519989013672,
|
"x": 209.2519989013672,
|
||||||
|
|
@ -1228,8 +1228,8 @@
|
||||||
"y": 209.53700256347656
|
"y": 209.53700256347656
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 40.481998443603516,
|
"x": 41.472999572753906,
|
||||||
"y": 209.96499633789062
|
"y": 209.83200073242188
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 38.5,
|
"x": 38.5,
|
||||||
|
|
@ -1592,8 +1592,8 @@
|
||||||
"y": 49.47600173950195
|
"y": 49.47600173950195
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": -184.9219970703125,
|
"x": -184.7570037841797,
|
||||||
"y": 46.97200012207031
|
"y": 47.95800018310547
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": -185.2519989013672,
|
"x": -185.2519989013672,
|
||||||
|
|
@ -1972,8 +1972,8 @@
|
||||||
"y": 123.8030014038086
|
"y": 123.8030014038086
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 674.60302734375,
|
"x": 674.93798828125,
|
||||||
"y": 127.11499786376953
|
"y": 126.1729965209961
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 673.9329833984375,
|
"x": 673.9329833984375,
|
||||||
|
|
@ -2336,8 +2336,8 @@
|
||||||
"y": 198.90899658203125
|
"y": 198.90899658203125
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 337.47198486328125,
|
"x": 338.1369934082031,
|
||||||
"y": 196.4929962158203
|
"y": 197.24000549316406
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 336.1419982910156,
|
"x": 336.1419982910156,
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Loading…
Reference in a new issue