Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Svelvet component on top of each other #461

Open
sicheo opened this issue Aug 18, 2023 · 0 comments
Open

Svelvet component on top of each other #461

sicheo opened this issue Aug 18, 2023 · 0 comments

Comments

@sicheo
Copy link

sicheo commented Aug 18, 2023

I'm using Svelvet component to build a graph dynamically, adding nodes and edges.
I need to have two type of nodes, regular ones, and node that represent sub-graphs.
I open a data input window if a regular node is clicked. If a sub-graph node is clicked I need to open a new div with a new Svelvet component on top of the original one, in order to edit a new sub graph linked with the sub-graph node.
Everything works fine except that the upmost Svelvet component doesn't show the edge when I connect two node's anchors of the sub graph.
Using Firefox Inspector it seems that the path is created below the first <svg class="edges-wrapper svelte-eznx2t" ....../> and not below the second one.
Can you suggest any solution? Thank in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant