1.7.26

Tree

Tree Statistics

Get some statistics regarding a data tree

ID

list-tree-tree-statistics

Name

Tree Statistics

Group

Tree

Package

List

Keywords

statistics
tree
about tree
paths

List

Sequence

Set

Tree

Creation method

There are two options for creating a Tree Statistics node:

  • The first way to create a Tree Statistics node is by using the search list, which is opened by double left-clicking in the workspace. You can write the name of the node you need or words associated with this node.
    • statistics, tree, about tree, paths
  • The second way is to select a Tree Statistics node from the menu that opens from the top left.
    • Menu > List > Tree > Tree Statistics

Steps

  • Create a Tree Statistics node.
  • Connect the data tree that you want to analyze to the "Tree" port.
  • After creating the Tree Statistics node, on the output ports, you will receive information about:
    • "Path": All the paths of the tree.
    • "Length": The length of each branch in the tree.
    • "Count": The number of paths and branches in the tree.

See also

  • Flatten Tree
  • Unflatten Tree

Inputs

NameTypeDescriptionDefault Value
tree
Any
Data tree to analyze

Outputs

NameTypeDescription
path
Path
All the paths of the tree
length
Number
The length of each branch in the tree
count
Number
Number of paths and branches in the tree