跳转到内容

pivotick v3.0.0


拓展 / 简化 / DegreeRule

接口: DegreeRule ​

定义于:interfaces/Simplify.ts:89

将链接很少的节点折叠到它们悬挂的节点中:集线器的叶子成为集线器上的“N 多个”。一个组可以混合类型并且可以包含单个节点。

属性 ​

enabled? ​

optional enabled: boolean

定义于:interfaces/Simplify.ts:92

默认值 ​

ts
true

kind ​

kind: "degree"

定义于:interfaces/Simplify.ts:90


minDegree? ​

optional minDegree: number

定义于:interfaces/Simplify.ts:97

绘制链接数少于此折叠的节点。 1 到 10 之间。

默认值 ​

ts
2