Skip to content

@graphty/algorithms / index / GirvanNewmanOptions

Interface: GirvanNewmanOptions ​

Defined in: indexed/girvan-newman.ts:20

Options of the index-based Girvan-Newman, matching the legacy girvanNewman.

Properties ​

maxCommunities? ​

readonly optional maxCommunities?: number

Defined in: indexed/girvan-newman.ts:22

Stop once a level has at least this many communities of minCommunitySize or more nodes.


maxIterations? ​

readonly optional maxIterations?: number

Defined in: indexed/girvan-newman.ts:26

Cap on rounds of edge removal; default 100.


minCommunitySize? ​

readonly optional minCommunitySize?: number

Defined in: indexed/girvan-newman.ts:24

Communities smaller than this do not count towards maxCommunities; default 1.