algorithms.labelPropagation
labelPropagation(options: LabelPropagationOptions & AlgorithmWriteOptions): Promise<NodeGroupResult>Detect communities using the Label Propagation algorithm.
Dispatched to the background worker. Emits the standard algorithm
lifecycle events. When writeTo is supplied community labels are written
to node properties (recorded in history, undoable).
options | LabelPropagationOptions & AlgorithmWriteOptions | LabelPropagationOptions merged with AlgorithmWriteOptions. |
Returns: Promise<NodeGroupResult>