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).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
tree |
Tree |
selection |
Partial<TreeSelection> |
nodeId |
string |
Returns
Section titled “Returns”Record<string, string[]>