peerPressure
Executes a Peer Pressure community detection algorithm over the graph.
Synopsis
peerPressure()
Description
The peerPressure()
step is a map/sideEffect step that executes a Peer Pressure community detection algorithm over the graph.
It only runs in Analytics (OLAP) mode.
Examples
g = graph.traversal().withComputer() g.V().peerPressure().by('cluster').values('cluster')