This commit is contained in:
Mayank Mohapatra 2025-02-23 17:03:06 +00:00
parent ee52378e44
commit e541734331
5 changed files with 173 additions and 173 deletions

View file

@ -117,7 +117,7 @@ func createCircularArc(edge *d2graph.Edge) {
tangentX /= mag tangentX /= mag
tangentY /= mag tangentY /= mag
} }
const MIN_SEGMENT_LEN = 4.1 const MIN_SEGMENT_LEN = 3.9
dx := lastPoint.X - secondLastPoint.X dx := lastPoint.X - secondLastPoint.X
dy := lastPoint.Y - secondLastPoint.Y dy := lastPoint.Y - secondLastPoint.Y

View file

@ -864,8 +864,8 @@
"y": -37.47600173950195 "y": -37.47600173950195
}, },
{ {
"x": 196.5760040283203, "x": 196.60899353027344,
"y": -37.042999267578125 "y": -36.84600067138672
}, },
{ {
"x": 197.2519989013672, "x": 197.2519989013672,
@ -1228,8 +1228,8 @@
"y": 197.53700256347656 "y": 197.53700256347656
}, },
{ {
"x": 30.562999725341797, "x": 30.364999771118164,
"y": 197.68699645996094 "y": 197.71299743652344
}, },
{ {
"x": 26.5, "x": 26.5,
@ -1592,8 +1592,8 @@
"y": 37.47600173950195 "y": 37.47600173950195
}, },
{ {
"x": -196.5760040283203, "x": -196.60899353027344,
"y": 37.042999267578125 "y": 36.84600067138672
}, },
{ {
"x": -197.2519989013672, "x": -197.2519989013672,
@ -1972,8 +1972,8 @@
"y": 111.8030014038086 "y": 111.8030014038086
}, },
{ {
"x": 702.8070068359375, "x": 702.739990234375,
"y": 113.13600158691406 "y": 113.32499694824219
}, },
{ {
"x": 701.4329833984375, "x": 701.4329833984375,
@ -2336,8 +2336,8 @@
"y": 186.90899658203125 "y": 186.90899658203125
}, },
{ {
"x": 366.3689880371094, "x": 366.2359924316406,
"y": 186.06100463867188 "y": 185.91200256347656
}, },
{ {
"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

View file

@ -864,8 +864,8 @@
"y": -25.47599983215332 "y": -25.47599983215332
}, },
{ {
"x": 208.5760040283203, "x": 208.60899353027344,
"y": -25.042999267578125 "y": -24.84600067138672
}, },
{ {
"x": 209.2519989013672, "x": 209.2519989013672,
@ -1228,8 +1228,8 @@
"y": 209.53700256347656 "y": 209.53700256347656
}, },
{ {
"x": 42.5629997253418, "x": 42.3650016784668,
"y": 209.68699645996094 "y": 209.71299743652344
}, },
{ {
"x": 38.5, "x": 38.5,
@ -1592,8 +1592,8 @@
"y": 49.47600173950195 "y": 49.47600173950195
}, },
{ {
"x": -184.5760040283203, "x": -184.60899353027344,
"y": 49.042999267578125 "y": 48.84600067138672
}, },
{ {
"x": -185.2519989013672, "x": -185.2519989013672,
@ -1972,8 +1972,8 @@
"y": 123.8030014038086 "y": 123.8030014038086
}, },
{ {
"x": 675.3070068359375, "x": 675.239990234375,
"y": 125.13600158691406 "y": 125.32499694824219
}, },
{ {
"x": 673.9329833984375, "x": 673.9329833984375,
@ -2336,8 +2336,8 @@
"y": 198.90899658203125 "y": 198.90899658203125
}, },
{ {
"x": 338.8689880371094, "x": 338.7359924316406,
"y": 198.06100463867188 "y": 197.91200256347656
}, },
{ {
"x": 336.1419982910156, "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