latest

Tree

Shift Paths

Shift paths safely...will flatten data trees with fewer elements than shifts specified

ID

list-tree-shift-paths

Name

Shift Paths

Group

Tree

Package

List

Keywords

tree
removePaths
list

List

Sequence

Set

Tree

Creation method

There are two options for creating a Shift Paths node.

  • The first way to create a Shift Paths 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 Shift Paths node from the menu that opens from the top left.
    • Menu > List > Tree > Shift Paths

Steps

  • Create a Shift Paths node.
  • Connect the data tree that needs to be modified to the first port.
  • Connect the offset to apply to each branch to the second port.
  • After creating a Shift Paths node, connect the data tree to the first port. Connect the offset to apply to each branch to the second port. On the output port, you will get the modified tree.

See also

Weave, Graft Tree

Inputs

NameTypeDescriptionDefault Value
tree
Any
Data to modify
offset
Number
Offset to apply to each branch1

Outputs

NameTypeDescription
tree
Any
Modified data