Closed tbellembois closed 1 year ago
If you are trying to build a pdu
-styled ASCII graph for your own data, see Visualizer
. You will need to supply it a DataTree
.
If you are trying to create your own visualization for the data that is provided by pdu
, see DataTree
.
There are --json-input
and --json-output
flags.
The only examples are this repository in its entirety or whatever I provided on docs.rs.
DataTree
is what I was looking for.
let children = data_tree.children();
let data = data_tree.data();
debug!("data: {:?}", data);
debug!("children: {:#?}", children);
Is there a way to limit the children depth?
Regards
Is there a way to limit the children depth?
Visualizer
has max_depth
.
This works like a charm. Thanks !
Hi,
I would like to use parallel-disk-usage in one of my projet but I can't figure out how to use it. Any example ?
Thanks