Skip to content

Releases: AdeelK93/collapsibleTree

Improved node separation and general bugfixes/enhancements

23 Aug 03:57
Compare
Choose a tag to compare
  • Improved node separation for larger trees
  • Fix scroll locking bug when zoom is disabled
  • Color NaNs in white in collapsibleTreeSummary and warn user
  • Support single node tree in collapsibleTreeNetwork
  • Namespaced CSS to not interfere with other htmlwidgets
  • Include test dependency tibble in "Suggests" per new CRAN policy

collapsibleTreeNetwork, Mappable nodeSize, and HTML tooltips

23 Sep 17:12
Compare
Choose a tag to compare
  • Added collapsibleTreeNetwork for use with network-like data frames, such as org charts
  • Map node size to any numeric column
  • Add custom tooltips (possibly containing html) to collapsibleTree.data.tree
  • Optional pan and zoom for chart
  • Added option to have tree uncollapsed at start
  • Added percentOfParent parameter to collapsibleTreeSummary
  • Consolidated collapsibleTree methods docs

Varying tree depth

05 Sep 01:58
Compare
Choose a tag to compare
  • Support for trees with varying depth, by using NAs for values in the hierarchy
  • Support for using data.tree objects in addition to data frames

Automatic chart sizing

19 Mar 23:52
Compare
Choose a tag to compare
  • Chart margins are now computed at render time rather than with a preset value. Calculation is based on label length and font size to give appropriate padding for labels on both sides of the chart.
  • Link length is now computed at render time rather than with a preset value. Calculation is based on the chart width (minus the padding) divided by the number of nodes. This can still be overwritten in the options.
  • Under the hood, the javascript bindings have been restructured such that instance properties are now accessed as a property of the widget, rather than being passed around by functions. This makes tracing data flow quite a bit simpler.

Added tooltips

17 Mar 23:38
Compare
Choose a tag to compare
  • Optional tooltips that map to the same attribute as the color gradient, or a different attribute if you're not using gradients.
  • Removed unnecessary JSON fields that were passed to client

Node color gradients

17 Mar 05:16
Compare
Choose a tag to compare
  • Added collapsibleTreeSummary to more conveniently construct node color gradients based on either the number of children or a column in the data frame
  • Responsive chart sizing
  • Negative weights are handled like 0 rather than throwing an error

Customizable node colors

15 Mar 20:25
Compare
Choose a tag to compare
  • Custom node fill colors
  • Different instances of collapsibleTree no longer interfere with one another
  • IE 11 support

Initial release

13 Mar 05:46
Compare
Choose a tag to compare
  • Added Shiny input bindings