feat(svelte): add node option 'origin'

This commit is contained in:
moklick
2023-03-14 13:20:52 +01:00
parent 653db49ea4
commit 154be3f900
7 changed files with 20 additions and 17 deletions
@@ -26,7 +26,7 @@
data: { label: 'Output Node' },
position: { x: 300, y: 150 }
}
]);
], { origin: [0.5, 0.5] });
const edges = createEdges([
{