Skip to content

Prevent deletion of edges during node deletion #1605

Answered by bcakmakoglu
MSB89 asked this question in Q&A
Discussion options

You must be logged in to vote

the removeNodes action allows you to specify that "orphaned" edges should not be removed (it will cause a warning though because edges need a source and a target node).

removeNodes(nodesOrNode, false)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bcakmakoglu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants