List

Trim Tree

Tree

Reduce tree complexity by merging outermost branches

Docs for v2.1.16, the latest version.

ID

list-tree-trim-tree

Group

Tree

Plugin

List

Keywords

trim
tree
cut tree

Trim Tree

Tree

2 inputs, 1 output

Ports

Inputs

2

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

Tree

Any

Data tree to be flattened

Depth

Number

Default 1

Number of outermost branches to merge

Outputs

1

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

Tree

Any

Trimmed data tree

Creation method#

There are two options for creating a Trim Tree node.#

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

Steps#

  • Create a Trim Tree node.
  • Connect the data tree that needs to be trimmed to the first port.
  • Specify the number of outermost branches to merge by connecting a numerical value to the "Depth" port.
  • After creating a Trim Tree node, connect the data tree to the first port. Specify the number of outermost branches to merge by connecting a numerical value to the "Depth" port. On the output port, you will get the trimmed 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.