Skip to content

pivotick v3.0.0


pivotick / Simplify / KCoreRule

Interface: KCoreRule ​

Defined in: interfaces/Simplify.ts:105

Fold everything outside the k-core into it: nodes with fewer than k links are peeled off again and again, so whole trees hanging off the core fold, not only their leaves. A group may mix types and may hold a single node.

Properties ​

enabled? ​

optional enabled: boolean

Defined in: interfaces/Simplify.ts:108

Default ​

ts
true

k? ​

optional k: number

Defined in: interfaces/Simplify.ts:113

The links a node needs, among the nodes still standing, to stay. Between 1 and 10.

Default ​

ts
2

kind ​

kind: "kcore"

Defined in: interfaces/Simplify.ts:106