d3.js - programatically click on sankey node -


i working on sankey collapsible view. got inspiration https://bl.ocks.org/thebiro/f73a2a0625bb803179f3905fe7624e22

there functionality click on node node collapses.

i have requirement node or nodes , it's children should collapsed when sankey generate.

e.g collapse:

  1. pagou
  2. n_pagou

and children programatically. i.e when sankey generates. , user can click on above 2 nodes , uncollapses it. following 2 nodes should collapsed when sankey first generates.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -