跳转到内容

pivotick v3.0.0


拓展 / TreeRoot

接口: TreeRoot ​

定义于:Simulation.ts:133

树布局悬挂的位置,正如物理弹出按钮的根卡提供的那样:树固定到的节点,或者(没有固定任何东西)选择一个节点的查找器。

两者是互斥的:固定节点会使查找器退出,直到固定被删除为止。

属性 ​

algorithm ​

algorithm: TreeLayoutAlgorithm

定义于:Simulation.ts:137

在没有固定任何内容的情况下选择根的查找器。


rootId? ​

optional rootId: string

定义于:Simulation.ts:135

树固定到的节点; undefined 当发现者决定时。