How do I use Node's let:connect? #506
Unanswered
Lenostatos
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to programmatically add edges between nodes with let:connect function of the Node component, as suggested by the documentation. I've tried a few different variations, but none of them worked. Likewise, I would expect the button on the second node to create a connection to the first one on click. But it doesn't so I am kind of at a loss here. Anyone any ideas?
The code below running in stackblitz: https://stackblitz.com/edit/sveltejs-kit-template-default-uek3rl?file=src%2Froutes%2F%2Bpage.svelte
Beta Was this translation helpful? Give feedback.
All reactions