@graphty/graphty-element / extend / communityFieldSpecs
Function: communityFieldSpecs() ​
communityFieldSpecs(
withModularity): readonlyResultFieldSpec[]
Defined in: graphty-element/src/algorithms/results/fields.ts:52
The fields a community result publishes.
Parameters ​
withModularity ​
boolean
Whether this method scores its own partition. Only a method that does may publish modularity; a number invented to fill a table is worse than a missing one.
Returns ​
readonly ResultFieldSpec[]
The field list.