Skip to content

Instantly share code, notes, and snippets.

@vladbatushkov
Last active June 25, 2020 15:00
Show Gist options
  • Save vladbatushkov/3355166ff90aec5e96c203b4f07d15e6 to your computer and use it in GitHub Desktop.
Save vladbatushkov/3355166ff90aec5e96c203b4f07d15e6 to your computer and use it in GitHub Desktop.
Follow this guideline tips to mastering in Neo4j graph data modeling.

Max De Marzi Modeling Guidelines:

  1. Don’t use the same Relationship Type for everything
  2. Don’t use two relationships when one will do
  3. Keep the same Direction for paths
  4. Use different Relationship Types between label pairs
  5. Pre-Split densely related nodes by relationship types
  6. Try to stick to One Label per Node
  7. Create Indexes on any properties used to Find a Node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment