pycodestyle
pycodestyle copied to clipboard
Pass the id to Svelvet element doesn't affect assigned id on HTML Svelvet Element
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
- [x] ๐โโ๏ธ Yes, I'd love to make a PR to fix this bug!