Is there any built in way to clone entire graph #1827
Unanswered
Sanjeevraghav
asked this question in
Q&A
Replies: 1 comment
-
|
Hello, there is a method to get the graph as a json. Depends of whats in your graph. This method will return the cell and edges. But if your graph have some custom nodes you will need to grab them using the data available with this method. let currentData = graph.toJSON(...)
console.log(graph.parseJSON(currentData))source: x6 Doc Hope it helps o/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We need to clone the entire graph but node and edge ids must be unique. Please let me know is there any built-in feature in the library?
Beta Was this translation helpful? Give feedback.
All reactions