apoc.generate.complete
Procedure APOC Full
apoc.generate.complete(noNodes, label, type) - generates a random complete graph
Usage Examples
The following creates a graph of 10 nodes where every node is connected to all other nodes:
CALL apoc.generate.complete(10, "Node", "CONNECTED_TO");

Was this page helpful?