AdeelK93 / collapsibleTree

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

Dynamic linkLength #48

Open RossPitman opened 5 years ago

RossPitman commented 5 years ago

Hi @AdeelK93. Thanks for the great R package. One question: is it possible to supply a vector to the linkLength argument such that distances between nodes are informed by these values? As I understand it currently, we can only supply a single value, and all linkLength distances are rendered using this value. It would be great if those distances were variable according to the data provided. Thanks.