Hi Sebastian,

I'm not sure I really grasp your problem, but one solution that seems
appropriate would be to connect all those object graphs to one "super
root node" of your choice. So that you create this super root node,
maybe connect it to the neo reference node and let all your object
graphs have some relationship to that super root node. That way
they'll all be connected in a way and you could have that node as a
starting node when you traverse.

Alternatively you could connect all your object graphs to the neo
reference node directly and use that as a starting point for your
traversals.

Would that help you?

2009/7/31 sebastien nichele <[email protected]>:
> Hi,
>
> I'm currently evaluating neo4j and I'am really satisfied/impressed by it.
>
> However, I'm asking myself several questions.
>
> In my "node space" I have several dissocied objects graphs.
> Links between nodes bears two attributes "startDate" and "endDate".
>
>  At one time, i want to display all nodes in my graph that have links
>  that match some combinations of startDate and endDate (ie. 'give me all
> nodes linked by links that
>  have dates between 1st january and 3 march'), whatever the link nature is.
>
>  I started using traversing for that, using exemples I found on
> documentation.
>  My problem is that I don't have any "super root node" in my "node space" to
> start traversing (since traversing needs a 'root' node), but several graphs
> with several root nodes.
>
>  In realize that in fact, I don't really want to "traverse" a graph, but
> simply pick links based on their attributes, and then, return nodes on links
> sides.
>
>  I digged upon the documentation, but didn't find a way to do that simply
> and efficiently.
>
>  I have the feeling that I am missing something...
>
>  Can anyone shed some light on my matter ? ;)
>
>  Thanks in advance for your answers,
>
>  Best regards,
>
>  sni.
> _______________________________________________
> Neo mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mattias Persson, [[email protected]]
Neo Technology, www.neotechnology.com
_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to