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
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