pycodestyle
pycodestyle copied to clipboard
`.svelvet-graph-wrapper` selector is now relative to graph DOM elemen…
When an app supports multiple windows with different Svelvet graphs, all edges appear on the first graph that shows up in the DOM. This is because inside of Edge.svelte
, the function moveEdge
performs a query on the entire document.
document.querySelector(`.svelvet-graph-wrapper`);
This merge request instead uses the same query selector on the DOM node that is in our component's context.