Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option for custom node shapes #27

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Deep trees can be expanded on demand from the visualization by clicking on unexp

The lazy loading can be controlled through two main keyword arguments:

- `lazy_expand_after_depth` which controls the initial expansion depth of the tree, before being sent as json to the visualization,
- `lazy_expand_after_depth` which controls the initial expansion depth of the tree, before being sent as json to the visualization,
- `lazy_subtree_depth` which determines the depth of on-demand expanded subtrees.

```julia
Expand All @@ -90,7 +90,8 @@ ldroot = LimitedDepthTree()
D3Tree(ldroot, lazy_expand_after_depth=0, lazy_subtree_depth=1)
```

returns
can then be expanded to a following tree by clicking on leafs:

![Expanded tree with style](img/deep_tree.png)

## Text output
Expand All @@ -115,7 +116,7 @@ julia> t = D3Tree(children)

## Browser compatibility

This package works best in the Google chrome or chromium browser.
This package works best in the Google Chrome or Chromium browser.

## Limitations

Expand Down
Loading