Description Usage Arguments Details Value
Recursive function to be applied to a tree node, will *sum* a specified quantity from all child nodes, and grandchildren etc
1 | sum_up_tree(node, property)
|
node |
data.tree node, for which a specified quantity is aggregated |
property |
name of a property to be aggregated |
Does this by calling itself on the $children of a node. Once it reaches a leaf, there are no children.
Works as a side effect, output does not need to be assigned
a data.tree with <property>_agg as a property
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.