This commit is contained in:
Mayank Mohapatra 2025-02-23 16:56:13 +00:00
parent a0ed5366ff
commit bcf1a001e0
5 changed files with 177 additions and 177 deletions

View file

@ -119,7 +119,7 @@ func createCircularArc(edge *d2graph.Edge) {
tangentX /= mag
tangentY /= mag
}
const MIN_SEGMENT_LEN = 5.0
const MIN_SEGMENT_LEN = 2.0
// 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.427001953125,
"y": -37.930999755859375
"x": 196.9219970703125,
"y": -34.97200012207031
},
{
"x": 197.2519989013672,
@ -1228,8 +1228,8 @@
"y": 197.53700256347656
},
{
"x": 31.454999923706055,
"y": 197.56700134277344
"x": 28.48200035095215,
"y": 197.96499633789062
},
{
"x": 26.5,
@ -1592,8 +1592,8 @@
"y": 37.47600173950195
},
{
"x": -196.427001953125,
"y": 37.930999755859375
"x": -196.9219970703125,
"y": 34.97200012207031
},
{
"x": -197.2519989013672,
@ -1972,8 +1972,8 @@
"y": 111.8030014038086
},
{
"x": 703.1079711914062,
"y": 112.28800201416016
"x": 702.10302734375,
"y": 115.11499786376953
},
{
"x": 701.4329833984375,
@ -2336,8 +2336,8 @@
"y": 186.90899658203125
},
{
"x": 366.9670104980469,
"y": 186.73399353027344
"x": 364.97198486328125,
"y": 184.4929962158203
},
{
"x": 363.6419982910156,
@ -2740,8 +2740,8 @@
"y": 196.45700073242188
},
{
"x": 1003.4550170898438,
"y": 197.55599975585938
"x": 1003.2860107421875,
"y": 197.53700256347656
},
{
"x": 998.5,

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -864,8 +864,8 @@
"y": -25.47599983215332
},
{
"x": 208.427001953125,
"y": -25.930999755859375
"x": 208.9219970703125,
"y": -22.972000122070312
},
{
"x": 209.2519989013672,
@ -1228,8 +1228,8 @@
"y": 209.53700256347656
},
{
"x": 43.45500183105469,
"y": 209.56700134277344
"x": 40.481998443603516,
"y": 209.96499633789062
},
{
"x": 38.5,
@ -1592,8 +1592,8 @@
"y": 49.47600173950195
},
{
"x": -184.427001953125,
"y": 49.930999755859375
"x": -184.9219970703125,
"y": 46.97200012207031
},
{
"x": -185.2519989013672,
@ -1972,8 +1972,8 @@
"y": 123.8030014038086
},
{
"x": 675.6079711914062,
"y": 124.28800201416016
"x": 674.60302734375,
"y": 127.11499786376953
},
{
"x": 673.9329833984375,
@ -2336,8 +2336,8 @@
"y": 198.90899658203125
},
{
"x": 339.4670104980469,
"y": 198.73399353027344
"x": 337.47198486328125,
"y": 196.4929962158203
},
{
"x": 336.1419982910156,
@ -2740,8 +2740,8 @@
"y": 208.45700073242188
},
{
"x": 936.3660278320312,
"y": 209.55599975585938
"x": 936.197021484375,
"y": 209.53700256347656
},
{
"x": 931.4099731445312,

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 25 KiB