sisl / D3Trees.jl

Flexible interactive visualization for large trees in Julia using D3.js
Other
39 stars 7 forks source link

Allows for expanding multiple levels with single click #28

Closed BoZenKhaa closed 2 years ago

BoZenKhaa commented 2 years ago

Adds tree parameter on_click_display_depth with default value 1 that allows for displaying more than one level of the tree with a single click.

For example, clicking a marked node expands whole subtree in circle: image

Usage: D3Tree(root, on_click_display_depth=2)

zsunberg commented 2 years ago

Looks good to me, though I do not understand how await and async are supposed to work. As long as you are sure you're using those correctly, I will merge this.