On click of parent node in tree layout, Like link and node, linkText should also exit

9 views
Skip to first unread message

Ram shaw

unread,
Oct 1, 2015, 2:49:35 AM10/1/15
to d3-js
On click of parent node in tree layout, link and linktext should exit. Link is exiting but not the linktext. Here is the jsfiddle link - https://jsfiddle.net/44nd20gk/ . I tried the code - svg.selectAll(".line-label").remove(); which was deleting the linkText from all the labels that should not happen. What i am expecting is on click of node it exits the linkText like link, node and node text from the current branch of the tree.
Reply all
Reply to author
Forward
0 new messages