Hello! This is my first post here. I tried googling but can not see anyone else asking this same question so here we go. In a tree diagram with nodes and links, I removed a node and its link. The other nodes that lost dependency do not update/refresh. This is the issue I am trying to solve. Below is an example.
eg:
Original Diagram: A* -> B*
After removing node B and link: A*
Expected diagram after removing node B and link: A
A: is a node with no links
A* is a node that has a link
psuedo code:
startTransaction
removeNodeData
removeLinkDataCollection [removes link between A and B]
addLinkDataCollection [add a link with ‘from’ as node A and ‘to’ as undefined]
endTransaction