try
This commit is contained in:
parent
460a118e74
commit
ba50bfd2cc
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 = 4.2
|
const MIN_SEGMENT_LEN = 4.255
|
||||||
// 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.5590057373047,
|
"x": 196.5500030517578,
|
||||||
"y": -37.141998291015625
|
"y": -37.19599914550781
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 197.2519989013672,
|
"x": 197.2519989013672,
|
||||||
|
|
@ -1228,8 +1228,8 @@
|
||||||
"y": 197.53700256347656
|
"y": 197.53700256347656
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 30.66200065612793,
|
"x": 30.716999053955078,
|
||||||
"y": 197.67300415039062
|
"y": 197.66600036621094
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 26.5,
|
"x": 26.5,
|
||||||
|
|
@ -1592,8 +1592,8 @@
|
||||||
"y": 37.47600173950195
|
"y": 37.47600173950195
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": -196.5590057373047,
|
"x": -196.5500030517578,
|
||||||
"y": 37.141998291015625
|
"y": 37.19599914550781
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": -197.2519989013672,
|
"x": -197.2519989013672,
|
||||||
|
|
@ -1972,8 +1972,8 @@
|
||||||
"y": 111.8030014038086
|
"y": 111.8030014038086
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 702.8400268554688,
|
"x": 702.8590087890625,
|
||||||
"y": 113.04199981689453
|
"y": 112.98999786376953
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 701.4329833984375,
|
"x": 701.4329833984375,
|
||||||
|
|
@ -2336,8 +2336,8 @@
|
||||||
"y": 186.90899658203125
|
"y": 186.90899658203125
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 366.43499755859375,
|
"x": 366.47198486328125,
|
||||||
"y": 186.13600158691406
|
"y": 186.177001953125
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"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.5590057373047,
|
"x": 208.5500030517578,
|
||||||
"y": -25.142000198364258
|
"y": -25.195999145507812
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 209.2519989013672,
|
"x": 209.2519989013672,
|
||||||
|
|
@ -1228,8 +1228,8 @@
|
||||||
"y": 209.53700256347656
|
"y": 209.53700256347656
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 42.6619987487793,
|
"x": 42.71699905395508,
|
||||||
"y": 209.67300415039062
|
"y": 209.66600036621094
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 38.5,
|
"x": 38.5,
|
||||||
|
|
@ -1592,8 +1592,8 @@
|
||||||
"y": 49.47600173950195
|
"y": 49.47600173950195
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": -184.5590057373047,
|
"x": -184.5500030517578,
|
||||||
"y": 49.141998291015625
|
"y": 49.19599914550781
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": -185.2519989013672,
|
"x": -185.2519989013672,
|
||||||
|
|
@ -1972,8 +1972,8 @@
|
||||||
"y": 123.8030014038086
|
"y": 123.8030014038086
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 675.3400268554688,
|
"x": 675.3590087890625,
|
||||||
"y": 125.04199981689453
|
"y": 124.98999786376953
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 673.9329833984375,
|
"x": 673.9329833984375,
|
||||||
|
|
@ -2336,8 +2336,8 @@
|
||||||
"y": 198.90899658203125
|
"y": 198.90899658203125
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"x": 338.93499755859375,
|
"x": 338.97198486328125,
|
||||||
"y": 198.13600158691406
|
"y": 198.177001953125
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"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: 26 KiB |
Loading…
Reference in a new issue