List

Flatten Tree

Tree

Flatten a data tree by removing all branching information

Docs for v2.1.16, the latest version.

ID

list-tree-flatten-tree

Group

Tree

Plugin

List

Keywords

flatten
tree
remove branch

Flatten Tree

Tree

2 inputs, 1 output

Ports

Inputs

2

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

Tree

Any

Data tree to flatten

Path

Path

Default [0]

Path of flattened tree

Outputs

1

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

Tree

Any

Flatten data tree

Creation method#

There are two options for creating a Flatten Tree node:#

  • The first way to create a Flatten Tree 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.
    • flatten, tree, remove branch
  • The second way is to select a Flatten Tree node from the menu that opens from the top left.
    • Menu > List > Tree > Flatten Tree

Steps#

  • Create a Flatten Tree node.
  • Connect the data tree that needs to be flattened to the "Tree" port.
  • Specify the path of the flattened tree by connecting a numerical value to the "Path" port.
  • After creating a Flatten Tree node, connect the data tree to the "Tree" port. Specify the path of the flattened tree by connecting a numerical value to the "Path" port. On the output port, you will get the flattened data tree.

See also#

  • Clean Tree

History

First documented in v2.1.16

Oct 20, 2026

Versions before it were published before changes were recorded.