Skip to content

rotateOrder

function rotateOrder(
tree,
selection,
nodeId
): Record<string, string[]>;

Defined in: packages/components/src/components/PhyloTree/utils/treeOps.ts:60

A selection.order with the children of nodeId reversed (a “rotate” of that node).

Parameter Type
tree Tree
selection Partial<TreeSelection>
nodeId string

Record<string, string[]>