apoc.generate.ws

Procedure APOC Full

apoc.generate.ws(noNodes, degree, beta, label, type) - generates a random graph according to the Watts-Strogatz model

Signature

apoc.generate.ws(noNodes :: INTEGER?, degree :: INTEGER?, beta :: FLOAT?, label :: STRING?, type :: STRING?) :: VOID

Input parameters

Name Type Default

noNodes

INTEGER?

null

degree

INTEGER?

null

beta

FLOAT?

null

label

STRING?

null

type

STRING?

null