List

Tree Statistics

Tree

Get some statistics regarding a data tree

Docs for v2.1.16, the latest version.

ID

list-tree-tree-statistics

Group

Tree

Plugin

List

Keywords

statistics
tree
about tree
paths

Tree Statistics

Tree

1 input, 3 outputs

Ports

Inputs

1

What the node takes in, from wires or typed values.

Tree

Any

Data tree to analyze

Outputs

3

What the node gives out, to wire into other nodes.

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

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

History

First documented in v2.1.16

Oct 20, 2026

Versions before it were published before changes were recorded.