apoc.generate.ws

Procedure

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