Skip to content

@eightkk/vue-weave / core / GraphCommunityGroupsOptions

Interface: GraphCommunityGroupsOptions ​

Defined in: src/core/graphAnalysis.ts:451

Properties ​

idPrefix? ​

optional idPrefix?: string

Defined in: src/core/graphAnalysis.ts:453

Prefix of generated group IDs (idPrefix + (index + 1)). Default 'community-'.


label? ​

optional label?: (members, index) => string

Defined in: src/core/graphAnalysis.ts:455

Group label from its members and its zero-based index in communities. Default Community N.

Parameters ​

members ​

readonly string[]

index ​

number

Returns ​

string


minSize? ​

optional minSize?: number

Defined in: src/core/graphAnalysis.ts:457

Communities with fewer members produce no group. A positive integer; default 2.

Released under the MIT License.