This commit is contained in:
Mayank Mohapatra 2025-02-23 16:57:48 +00:00
parent 4ee9617eb2
commit 460a118e74
5 changed files with 173 additions and 173 deletions

View file

@ -119,7 +119,7 @@ func createCircularArc(edge *d2graph.Edge) {
tangentX /= mag
tangentY /= mag
}
const MIN_SEGMENT_LEN = 4.5
const MIN_SEGMENT_LEN = 4.2
// Calculate current segment direction
dx := lastPoint.X - secondLastPoint.X
dy := lastPoint.Y - secondLastPoint.Y

View file

@ -864,8 +864,8 @@
"y": -37.47600173950195
},
{
"x": 196.50999450683594,
"y": -37.4379997253418
"x": 196.5590057373047,
"y": -37.141998291015625
},
{
"x": 197.2519989013672,
@ -1228,8 +1228,8 @@
"y": 197.53700256347656
},
{
"x": 30.959999084472656,
"y": 197.63400268554688
"x": 30.66200065612793,
"y": 197.67300415039062
},
{
"x": 26.5,
@ -1592,8 +1592,8 @@
"y": 37.47600173950195
},
{
"x": -196.50999450683594,
"y": 37.4379997253418
"x": -196.5590057373047,
"y": 37.141998291015625
},
{
"x": -197.2519989013672,
@ -1972,8 +1972,8 @@
"y": 111.8030014038086
},
{
"x": 702.9409790039062,
"y": 112.76000213623047
"x": 702.8400268554688,
"y": 113.04199981689453
},
{
"x": 701.4329833984375,
@ -2336,8 +2336,8 @@
"y": 186.90899658203125
},
{
"x": 366.635009765625,
"y": 186.36000061035156
"x": 366.43499755859375,
"y": 186.13600158691406
},
{
"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
},
{
"x": 208.50999450683594,
"y": -25.437999725341797
"x": 208.5590057373047,
"y": -25.142000198364258
},
{
"x": 209.2519989013672,
@ -1228,8 +1228,8 @@
"y": 209.53700256347656
},
{
"x": 42.959999084472656,
"y": 209.63400268554688
"x": 42.6619987487793,
"y": 209.67300415039062
},
{
"x": 38.5,
@ -1592,8 +1592,8 @@
"y": 49.47600173950195
},
{
"x": -184.50999450683594,
"y": 49.4379997253418
"x": -184.5590057373047,
"y": 49.141998291015625
},
{
"x": -185.2519989013672,
@ -1972,8 +1972,8 @@
"y": 123.8030014038086
},
{
"x": 675.4409790039062,
"y": 124.76000213623047
"x": 675.3400268554688,
"y": 125.04199981689453
},
{
"x": 673.9329833984375,
@ -2336,8 +2336,8 @@
"y": 198.90899658203125
},
{
"x": 339.135009765625,
"y": 198.36000061035156
"x": 338.93499755859375,
"y": 198.13600158691406
},
{
"x": 336.1419982910156,

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 25 KiB