@shantanoo-desai wrote:
I am iterating through all the nodes in the diagram, finding the desired node to be made invisible but the problem lies in the fact that the node itself has a link to a child and a link from the Root. I wish to only make the node of the diagram invisible but not the links to and from it. Is that possible?
myDiagram.nodes.each(n => { if(n.data.text === desiredNodeText) { // make the node invisble n.visible = false; } }
the highlighted node Manufacturer should be invisible and the links connected to child (Legislation) and the link from a Root should remain.
Posts: 2
Participants: 2
