latest
Tree
Trim Tree

Reduce tree complexity by merging outermost branches

ID

662ae5a310b6cb87640c91a5

Name

Trim Tree

Group

Tree

Package

List

Keywords

trim
tree
cut tree

List

Sequence

Set

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

Inputs

NameTypeDescriptionDefault Value
tree
Any
Data tree to be flattened
depth
Number
Number of outermost branches to merge1

Outputs

NameTypeDescription
tree
Any
Trimmed data tree