+1 as this also goes into the direction of nested sets
Am 07.12.2011 16:14, schrieb Peter Neubauer: > Mmh, > I would like to see that I can specify the "stem" of the tree as a > path and then get leaf nodes out from that, something like > > START root = node(0) > MATCH stem=root->(dir?*), stem-[:LEAF]->leaf > WHERE all(x in nodes(stem) > WHERE x.importance> 30) > RETURN leaf, stem > > Does that make sense? > > Cheers, > > /peter neubauer > > GTalk: neubauer.peter > Skype peter.neubauer > Phone +46 704 106975 > LinkedIn http://www.linkedin.com/in/neubauer > Twitter http://twitter.com/peterneubauer > > brew install neo4j&& neo4j start > heroku addons:add neo4j > > > > On Wed, Dec 7, 2011 at 2:53 PM, Andres Taylor > <andres.tay...@neotechnology.com> wrote: >> A subset of the graphs are trees, and they have a few problems that are >> specific for them. I'm right now planning what needs to be added to Cypher >> to make it play nice with your tree structures. >> >> I'd love to know if you have hierarchical data, and what queries you do and >> would like to do. Doesn't matter if you use Cypher or not. >> >> Thanks! >> >> Andrés >> _______________________________________________ >> Neo4j mailing list >> User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user