latest
Tree
Prune Tree

Remove small branches from a data tree

ID

662ae5a310b6cb87640c91aa

Name

Prune Tree

Group

Tree

Package

List

Keywords

prune
tree
remove branches
remove small branches
list

List

Sequence

Set

Tree

Creation method

There are two options for creating a Prune Tree node.

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

Steps

  • Create a Prune Tree node.
  • Connect the data tree that needs to be pruned to the first port.
  • Configure the options:
    • Connect a numerical value to the "N0" port to remove branches with fewer than N0 items.
    • Connect a numerical value to the "N1" port to remove branches with more than N1 items (use zero to ignore the upper limit).
  • After creating a Prune Tree node, connect the data tree to the first port. Configure the options by connecting numerical values to the "N0" and "N1" ports. On the output port, you will get the pruned tree.

See also

Weave, Graft Tree

Inputs

NameTypeDescriptionDefault Value
tree
Any
Data tree to prune
n0
Number
Remove branches with fewer than N0 items0
n1
Number
Remove branches with more than N1 items (use zero to ignore the upper limit)0

Outputs

NameTypeDescription
tree
Any
Pruned tree