AFAIK the visualization also fetches _all_ relationships between the
returned nodes.

Not sure if it fetches none additionally if you actually return the
relationships as well.

MATCH (a)-[r:`REL`]->(b) RETURN a,r,b LIMIT 5



On Thu, Aug 7, 2014 at 1:50 AM, gg4u <[email protected]> wrote:

> Hi,
>
> new to neo, but getting the ball rolling!!! it s real cool!
> Would you like to help me sort out this confusing thing ?
> The localhost/browser displays more relationships than the one queried.
>
> +++
>
> I create a relationship REL between node a, b
> MATCH a, b
> CREATE UNIQUE a-[:REL]->b
>
> between node a, b there may be other types of relationships REL1, REL2...
>
> When I query the rel type REL
> MATCH (a)-[:`REL`]->(b) RETURN a,b LIMIT 5
>
> The browser viewer return 2 nodes and more than one relationship,
> overlapping all the types.
> Instead, the tab view display the proper number of rows.
>
> This is confusing, cause I don't understand if the visualization of the
> query is correct, either i messed up with the graph.
> The json which is produced is also quite complex, returning more elmenets
> (relationships) than expected.
>
> The same issue is reproduced when you have a connected graph (also a
> random model could be ok, I guess),
> and you want to display ONLY the first neighbors of a node:
> the browser will display also the correlaitons between neighbors, instead
> of visualizing a graph-star.
>
> Why this behavior?
> Thank you!
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to