Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am considering using Neo4j to manage project tasks and schedules and compute critical paths. Obviously tasks and milestones would be nodes, and dependencies would be relationships. Are there any best practices, resources, or implementations to which I can refer?

share|improve this question

migrated from Dec 6 '11 at 4:55

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

In general your approach sounds reasonable and should be quite straightforward. Unfortunately there are few public references.

Some tips for the modeling:

  • make sure to use index lookups to create unique entries for project, task and milestone nodes (using your domain ID's)
  • put all data you have in the graph (also relationships) -> rich, interconnected data pays off later
  • try to whiteboard the domain with your business user, it maps mostly 1:1 to the graph-model
  • put some sample data in using one of the API's (Java, REST, Spring Data Neo4j, Ruby, etc) and then visualize it with web-admin or neoclipse and see if there are concepts or data missing
  • create some conceptual cypher queries for typical use-cases and see if they are expressive enough for your domain
share|improve this answer

Maybe this project is interesting to have a look at:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.