This commit is contained in:
Mayank Mohapatra 2025-02-23 17:02:04 +00:00
parent 357befa313
commit ee52378e44
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.255 const MIN_SEGMENT_LEN = 4.1
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.5500030517578, "x": 196.5760040283203,
"y": -37.19599914550781 "y": -37.042999267578125
}, },
{ {
"x": 197.2519989013672, "x": 197.2519989013672,
@ -1228,8 +1228,8 @@
"y": 197.53700256347656 "y": 197.53700256347656
}, },
{ {
"x": 30.716999053955078, "x": 30.562999725341797,
"y": 197.66600036621094 "y": 197.68699645996094
}, },
{ {
"x": 26.5, "x": 26.5,
@ -1592,8 +1592,8 @@
"y": 37.47600173950195 "y": 37.47600173950195
}, },
{ {
"x": -196.5500030517578, "x": -196.5760040283203,
"y": 37.19599914550781 "y": 37.042999267578125
}, },
{ {
"x": -197.2519989013672, "x": -197.2519989013672,
@ -1972,8 +1972,8 @@
"y": 111.8030014038086 "y": 111.8030014038086
}, },
{ {
"x": 702.8590087890625, "x": 702.8070068359375,
"y": 112.98999786376953 "y": 113.13600158691406
}, },
{ {
"x": 701.4329833984375, "x": 701.4329833984375,
@ -2336,8 +2336,8 @@
"y": 186.90899658203125 "y": 186.90899658203125
}, },
{ {
"x": 366.47198486328125, "x": 366.3689880371094,
"y": 186.177001953125 "y": 186.06100463867188
}, },
{ {
"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.5500030517578, "x": 208.5760040283203,
"y": -25.195999145507812 "y": -25.042999267578125
}, },
{ {
"x": 209.2519989013672, "x": 209.2519989013672,
@ -1228,8 +1228,8 @@
"y": 209.53700256347656 "y": 209.53700256347656
}, },
{ {
"x": 42.71699905395508, "x": 42.5629997253418,
"y": 209.66600036621094 "y": 209.68699645996094
}, },
{ {
"x": 38.5, "x": 38.5,
@ -1592,8 +1592,8 @@
"y": 49.47600173950195 "y": 49.47600173950195
}, },
{ {
"x": -184.5500030517578, "x": -184.5760040283203,
"y": 49.19599914550781 "y": 49.042999267578125
}, },
{ {
"x": -185.2519989013672, "x": -185.2519989013672,
@ -1972,8 +1972,8 @@
"y": 123.8030014038086 "y": 123.8030014038086
}, },
{ {
"x": 675.3590087890625, "x": 675.3070068359375,
"y": 124.98999786376953 "y": 125.13600158691406
}, },
{ {
"x": 673.9329833984375, "x": 673.9329833984375,
@ -2336,8 +2336,8 @@
"y": 198.90899658203125 "y": 198.90899658203125
}, },
{ {
"x": 338.97198486328125, "x": 338.8689880371094,
"y": 198.177001953125 "y": 198.06100463867188
}, },
{ {
"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