Improve UE-style Bezier Edge calculation

This commit is contained in:
Joey Ballentine
2022-03-14 12:52:18 -04:00
parent 3b8756316b
commit 6f51af2074
2 changed files with 27 additions and 32 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ const sourceTargetPositions = [
{ source: Position.Right, target: Position.Left },
];
const nodeColors = [
['#1e9e99', '#4cb3ac', '#6ec9c0', '#8ddfd4', '#c4fff7'],
['#0c5956', '#1e9e99', '#4cb3ac', '#6ec9c0', '#8ddfd4'],
['#0f4c75', '#1b5d8b', '#276fa1', '#3282b8', '#4fa6e0'],
];
const edgeTypes = ['default', 'step', 'smoothstep', 'straight', 'simplebezier'];