@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? ​
readonlyoptionalmaxCommunities?:number
Defined in: indexed/girvan-newman.ts:22
Stop once a level has at least this many communities of minCommunitySize or more nodes.
maxIterations? ​
readonlyoptionalmaxIterations?:number
Defined in: indexed/girvan-newman.ts:26
Cap on rounds of edge removal; default 100.
minCommunitySize? ​
readonlyoptionalminCommunitySize?:number
Defined in: indexed/girvan-newman.ts:24
Communities smaller than this do not count towards maxCommunities; default 1.