lib module

reroot function

#let reroot(cell, node: none)

Documentation

Reverse the parent chain so node becomes the root of its component.

Parameters

  • cell (dictionary): The source morphology.
  • node (int): Node ID that becomes the new component root. Default: none.

Returns

dictionary

Defined in lib.typ:324.

Source

Module
lib
Defined in
lib.typ:324
Source
View source