sisl / D3Trees.jl
Showing 1 of 1 files from the diff.

@@ -55,14 +55,14 @@
Loading
55 55
56 56
## Keyword
57 57
58 -
- `detect_repeat`: if true, uses a dictionary to detect whether a node has appeared previously
59 -
- `lazy_expand_after_depth::Integer`: default 20. Sets tree depth to at which `AbstractTrees.children(node)` will not be called anymore. Instead, nodes at this depth are cached and `children(node)` is called only when node is clicked in the D3 interactive visualization. Root has depth 0, so setting `lazy_expand_after_depth=1` expands only the root.
60 -
- `lazy_subtree_depth::Integer` - (default: 2) sets depth of subtrees fetched from D3Trees server
61 -
- `port::Integer` - (default: 16370) specify server port for D3Trees server that will serve subtrees for visualization. Shutdown server by `shutdown_server(port)`.
62 -
- `dry_run_lazy_vizualization::Function` - (default: t -> D3Trees.dry_run_server(port, t)) function that is ran once before visualization is started to speed up first fetch in the visualization. Provide custom function if your tree's children method takes a long time on first run.
58 +
- `detect_repeat`: (default: true) if true, uses a dictionary to detect whether a node has appeared previously
59 +
- `lazy_expand_after_depth::Integer`: (default: typemax(Int)). Sets tree depth to at which `AbstractTrees.children(node)` will not be called anymore. Instead, nodes at this depth are cached and `children(node)` is called only when node is clicked in the D3 interactive visualization. Root has depth 0, so setting `lazy_expand_after_depth=1` expands only the root.
60 +
- `lazy_subtree_depth::Integer`: (default: 2) sets depth of subtrees fetched from D3Trees server
61 +
- `port::Integer`: (default: 16370) specify server port for D3Trees server that will serve subtrees for visualization. Shutdown server by `shutdown_server(port)`.
62 +
- `dry_run_lazy_vizualization::Function`: (default: t -> D3Trees.dry_run_server(port, t)) function that is ran once before visualization is started to speed up first fetch in the visualization. Provide custom function if your tree's children method takes a long time on first run.
63 63
- Also supports, the non-vector arguments of the vector-of-vectors `D3Tree` constructor, i.e. `title`, `init_expand`, `init_duration`, `svg_height`.
64 64
"""
65 -
function D3Tree(node; detect_repeat::Bool=true, lazy_expand_after_depth::Integer=20, kwargs...)
65 +
function D3Tree(node; detect_repeat::Bool=true, lazy_expand_after_depth::Integer=typemax(Int), kwargs...)
66 66
67 67
    t = D3Tree(Vector{Int}[]; kwargs...)
68 68
Files Coverage
src 86.34%
Project Totals (5 files) 86.34%
codecov-umbrella
Build #2678056289 -
unittests
codecov-umbrella
Build #2678056289 -
unittests
codecov-umbrella
Build #2678056289 -
unittests
codecov-umbrella
Build #2678056289 -
unittests
codecov-umbrella
Build #2678056289 -
unittests
codecov-umbrella
Build #2678056289 -
unittests

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading