Replies: 1 comment 2 replies
-
Can you write a simple demo to rehash your problem and raise an issue? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I navigate in my app the nodes from different graphs are getting combined in one.
I tried graph.dispose, graph.resetCells, graph.removeCells, view.empty, assigning graph to undefined, even unmounting and mounting the whole graph component doesn't work.
This is the first route with only 2 nodes and one edge
Then I navigate forward to a page with a more difficult graph (which contains previous 2 nodes too).
(you can see the edge that looks like it doesnt belong, it connects nodes from previous page)
This is the same page after hard reload (this is how it's supposed to look like).
This is the result after navigating backwards from the second page to first page (first image is how it's supposed to look like)
You can see how those original 2 nodes are in a top left corner connected and missing from the big graph (that shouldnt be there anyways).
It's clear that it's somehow leaking nodes between pages which I dont want to. How am I supposed to dispose of it when graph.dispose() doesnt work?
Beta Was this translation helpful? Give feedback.
All reactions