I want to project a subgraph that contains multiple nodes and relationship types. In gds 2.0 there is this (https://neo4j.com/docs/graph-data-science/current/graph-project/):
CALL gds.graph.project(
'personsAndBooks',
['Person', 'Book'],
['KNOWS', 'READ']
)
YIELD
graphName AS graph, nodeProjection, nodeCount AS nodes, relationshipCount AS rels
I want to do something similar, using gds 1.7.2 gds.graph.create.cypher
, but the node and edge selection only take strings not lists. Can anyone suggest how to do this?