try
This commit is contained in:
parent
ee52378e44
commit
e541734331
5 changed files with 173 additions and 173 deletions
|
|
@ -117,7 +117,7 @@ func createCircularArc(edge *d2graph.Edge) {
|
|||
tangentX /= mag
|
||||
tangentY /= mag
|
||||
}
|
||||
const MIN_SEGMENT_LEN = 4.1
|
||||
const MIN_SEGMENT_LEN = 3.9
|
||||
|
||||
dx := lastPoint.X - secondLastPoint.X
|
||||
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
|
||||
},
|
||||
{
|
||||
"x": 196.5760040283203,
|
||||
"y": -37.042999267578125
|
||||
"x": 196.60899353027344,
|
||||
"y": -36.84600067138672
|
||||
},
|
||||
{
|
||||
"x": 197.2519989013672,
|
||||
|
|
@ -1228,8 +1228,8 @@
|
|||
"y": 197.53700256347656
|
||||
},
|
||||
{
|
||||
"x": 30.562999725341797,
|
||||
"y": 197.68699645996094
|
||||
"x": 30.364999771118164,
|
||||
"y": 197.71299743652344
|
||||
},
|
||||
{
|
||||
"x": 26.5,
|
||||
|
|
@ -1592,8 +1592,8 @@
|
|||
"y": 37.47600173950195
|
||||
},
|
||||
{
|
||||
"x": -196.5760040283203,
|
||||
"y": 37.042999267578125
|
||||
"x": -196.60899353027344,
|
||||
"y": 36.84600067138672
|
||||
},
|
||||
{
|
||||
"x": -197.2519989013672,
|
||||
|
|
@ -1972,8 +1972,8 @@
|
|||
"y": 111.8030014038086
|
||||
},
|
||||
{
|
||||
"x": 702.8070068359375,
|
||||
"y": 113.13600158691406
|
||||
"x": 702.739990234375,
|
||||
"y": 113.32499694824219
|
||||
},
|
||||
{
|
||||
"x": 701.4329833984375,
|
||||
|
|
@ -2336,8 +2336,8 @@
|
|||
"y": 186.90899658203125
|
||||
},
|
||||
{
|
||||
"x": 366.3689880371094,
|
||||
"y": 186.06100463867188
|
||||
"x": 366.2359924316406,
|
||||
"y": 185.91200256347656
|
||||
},
|
||||
{
|
||||
"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
|
||||
},
|
||||
{
|
||||
"x": 208.5760040283203,
|
||||
"y": -25.042999267578125
|
||||
"x": 208.60899353027344,
|
||||
"y": -24.84600067138672
|
||||
},
|
||||
{
|
||||
"x": 209.2519989013672,
|
||||
|
|
@ -1228,8 +1228,8 @@
|
|||
"y": 209.53700256347656
|
||||
},
|
||||
{
|
||||
"x": 42.5629997253418,
|
||||
"y": 209.68699645996094
|
||||
"x": 42.3650016784668,
|
||||
"y": 209.71299743652344
|
||||
},
|
||||
{
|
||||
"x": 38.5,
|
||||
|
|
@ -1592,8 +1592,8 @@
|
|||
"y": 49.47600173950195
|
||||
},
|
||||
{
|
||||
"x": -184.5760040283203,
|
||||
"y": 49.042999267578125
|
||||
"x": -184.60899353027344,
|
||||
"y": 48.84600067138672
|
||||
},
|
||||
{
|
||||
"x": -185.2519989013672,
|
||||
|
|
@ -1972,8 +1972,8 @@
|
|||
"y": 123.8030014038086
|
||||
},
|
||||
{
|
||||
"x": 675.3070068359375,
|
||||
"y": 125.13600158691406
|
||||
"x": 675.239990234375,
|
||||
"y": 125.32499694824219
|
||||
},
|
||||
{
|
||||
"x": 673.9329833984375,
|
||||
|
|
@ -2336,8 +2336,8 @@
|
|||
"y": 198.90899658203125
|
||||
},
|
||||
{
|
||||
"x": 338.8689880371094,
|
||||
"y": 198.06100463867188
|
||||
"x": 338.7359924316406,
|
||||
"y": 197.91200256347656
|
||||
},
|
||||
{
|
||||
"x": 336.1419982910156,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Loading…
Reference in a new issue