Merge branch 'next' into fix-svelte-reset

This commit is contained in:
Moritz Klack
2024-02-29 19:48:19 +01:00
committed by GitHub
21 changed files with 201 additions and 132 deletions
@@ -111,9 +111,10 @@
{
id: '5a',
type: 'defaultResizer',
data: { label: 'Child' },
data: { label: 'Child with extent parent' },
position: { x: 50, y: 50 },
parentNode: '5',
extent: 'parent',
style: nodeStyle
},
{
@@ -137,6 +138,7 @@
maxZoom={5}
snapGrid={snapToGrid ? [10, 10] : undefined}
fitView
nodeOrigin={[0.5, 0.5]}
>
<Controls />
<Panel position="bottom-right">
@@ -1,7 +1,11 @@
.svelte-flow__handle.connecting {
.svelte-flow__handle.connectingto {
background: #ff6060;
}
.svelte-flow__handle.connectingfrom {
background: #55dd99;
}
.svelte-flow__handle.valid {
background: #55dd99;
}