In grails-neo4j plug-in,how can i define relationship among nodes and properties of relationship.
I can define my nodes as domain classes but what if i want to connect nodes i.e. i want to map relationship of nodes in some form.
I found spring-neo4j framework which works well for this case and i can map relationship to java class but didn't find any grails compatibility layer for this.
Mapping domain classes as relationships is not yet supported in the Neo4j Grails plugin. I have this on my list of stuff to add.
You're right, Spring Data Neo4j already is capable of doing this. Be aware that Spring Data Neo4j and the Grails Neo4j plugin have nothing in common (aside that they use Neo4j to persist). The persistence layer is a completely separate code base.