apoc.graph.fromData

Procedure

apoc.graph.fromData([nodes],[relationships],'name',{properties}) | creates a virtual graph object for later processing

Signature

apoc.graph.fromData(nodes :: LIST? OF NODE?, relationships :: LIST? OF RELATIONSHIP?, name :: STRING?, properties :: MAP?) :: (graph :: MAP?)

Input parameters

Name Type Default

nodes

LIST? OF NODE?

null

relationships

LIST? OF RELATIONSHIP?

null

name

STRING?

null

properties

MAP?

null

Output parameters