Graph Data Science

native projection

A projection built by naming node labels and relationship types directly, without a Cypher query.

Example

Two labels and one relationship type, named as arguments.

cypher
CALL gds.graph.project(
  'directors-graph',
  ['Director', 'Movie'],
  'DIRECTED'
)
YIELD nodeCount, relationshipCount
RETURN nodeCount, relationshipCount

Every (:Director) and (:Movie) node goes into the projection, along with every [:DIRECTED] relationship between them.

Lessons that use this term

The lesson and course links below open in a new tab.

No published lesson uses this term yet.

All glossary terms