›Understand the five execution modes
3.2 · Lesson

Understand the five execution modes

Throughout Module 2, you've been running GDSAnalysing data through the structure of its connections. Also the name of the Neo4j library that implements it. algorithms using different operations:

  • In the monopartiteA graph in which every node is the same kind of thing, so relationships connect like to like. lessons, you used stream mode: gds.degree.stream() and gds.pageRank.stream() to view results directly in query output
  • In the bipartiteA graph with two kinds of node, where every relationship joins one kind to the other and never two of the same kind. lessons, you used write mode: gds.nodeSimilarity.write() to persist SIMILAR relationshipsA named, directed connection between two nodes. Every relationship has a type, a start node and an end node. back to your database