Houdini 20.0 Nodes APEX Nodes

graph::Sort

Sort an APEX graph.

On this page
Since 20.0

Sorts an APEX graph’s nodes in a valid topological order such that if a node depends on the output of another node, then the node must come after the node it depends on.

Optionally, after sorting, layoutnodes can be used to reposition all nodes in the graph using the sorted order.

Inputs

*graph: ApexGraphHandle Required

The graph to sort.

layoutnodes: Bool

Whether to layout nodes after sorting.

Outputs

*graph: ApexGraphHandle

The modified graph.

See also

APEX Nodes