Edges appending to only one instance of Svelvet container
Description
If you have more than one Svelvet app container and you have Edges on your Nodes, the Edges are only appended to the first instance of the Svelvet app due to this line https://github.com/open-source-labs/Svelvet/blob/bd69dc3c6b0393569fe62caa766928c90065905a/src/lib/components/Edge/Edge.svelte#L20
Reproduction
https://stackblitz.com/edit/vitejs-vite-3df9v8?file=package.json,src%2FApp.svelte
- Create 2 instances of Svelvet apps with Edges, Anchors and Nodes
- See the first one will have double the Edges
- See the subsequent instances of Svelvet apps not drawing the Edges
System information
svelte: ^4.2.12 => 4.2.12
svelte-loader: ^3.2.0 => 3.2.0
svelvet: 10.0.2 => 10.0.2
Additional information
No response
๐จโ๐งโ๐ฆ Contributing
- [ ] ๐โโ๏ธ Yes, I'd love to make a PR to fix this bug!
Hi @gonzaloaune I can help with this
I can't seem to reach you on sphinx chat. This is my sphinx id on the community @Saif
#515
HI @gonzaloaune, this issue is available then please assign me?