AdeelK93 / collapsibleTree

Create Interactive Collapsible Tree Diagrams in R using D3.js
https://adeelk93.github.io/collapsibleTree/
159 stars 41 forks source link

collapsibleTreeSummary: Change Color of clicked node? #54

Open miklosmorada opened 4 years ago

miklosmorada commented 4 years ago

Hi @AdeelK93. First of all, thank you for this package! This made my life much much easier. Apologies for asking this question that seems pretty basic, but is it possible to change the color of the node that is currently clicked?

Example. If the node Mail below is clicked, can it be changed to a different color (e.g. neon green).

CollapsibleTreeSummary_NodeClicked

Thank you!

Best, Miklos