-
-
Notifications
You must be signed in to change notification settings - Fork 176
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Meanwhile I passed the custom id to Svelvet element, that didn't cause the change to custom one. Because of this I belive are associated such erros in my app like:
- In the spawned separated Svelvet diagrams, nodes of diagram other than first spawned - aren't connected to each other (my app has to present more than one diagram along the way)
- The first spawned diagram tries to connect with nodes from below diagram despite that both diagrams nodes have differentiated id, although the Svelvet element has under each condition and each case - identical id
Reproduction
{#each listDiagrams as listDiagram}
<Svelvet id={listDiagram.id} height="{500}" fitView={true} minimap={false} TD controls locked={true} theme="light" edgeStyle="straight"> <!-- The Svelvet id doesn't retrive change to one custom setted up -->
<!--- .... content like Nodes, Anchors, Edges -->
</Svelvet>
{/each}
System information
Svelvet npm version: [email protected]
SvelteKit: @sveltejs/[email protected]
Additional information
No response
👨👧👦 Contributing
- 🙋♂️ Yes, I'd love to make a PR to fix this bug!
PapAkodA
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working