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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.