Closed BoZenKhaa closed 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.
on_click_display_depth
1
For example, clicking a marked node expands whole subtree in circle:
Usage: D3Tree(root, on_click_display_depth=2)
D3Tree(root, on_click_display_depth=2)
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.
await
async
Adds tree parameter
on_click_display_depth
with default value1
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:
Usage:
D3Tree(root, on_click_display_depth=2)