Skip to content

Commit 34e56b4

Browse files
committed
Changed arrows to CubicBezier
- Its just better!
1 parent 103da6f commit 34e56b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ function getWebviewContent(data: {nodes: any[], edges: any[]}) {
375375
from: edge.from,
376376
to: edge.to,
377377
arrows: 'to',
378-
smooth: {type: 'curvedCW', roundness: 0.2 + (i * 0.1)}
378+
smooth: {type: 'cubicBezier', roundness: 0.6 + (i * 0.1)}
379379
});
380380
}
381381
});
@@ -517,7 +517,7 @@ function getWebviewContent(data: {nodes: any[], edges: any[]}) {
517517
from: edge.from,
518518
to: edge.to,
519519
arrows: 'to',
520-
smooth: {type: 'curvedCW', roundness: 0.2 + (i * 0.1)}
520+
smooth: {type: 'cubicBezier', roundness: 0.6 + (i * 0.1)}
521521
});
522522
}
523523
});

0 commit comments

Comments
 (0)