Neo4j does not allow for undirected edges. You have to create two directed
relationships to simulate this. For the sake of querying, you can use the
syntax `MATCH (n)--(o)`if you don't care about directionality.

~A


On Mon, Aug 25, 2014 at 8:42 AM, Mohana Krishna <[email protected]> wrote:

> Somebody please reply.
>
>
> On Saturday, 23 August 2014 20:02:17 UTC+5:30, Mohana Krishna wrote:
>>
>> 1) Does Neo4j allow undirected edges between two nodes? If so, what is
>> syntax?
>>
>> 2) I want to query my graph db to find cliques of fixed size but each
>> node in the clique is of different class.
>>
>> Eg: If there are nodes of three classes say A,B,C,D in graph db, I wish
>> to find all size-3 cliques and size-4 cliques such that each of nodes in a
>> given clique belong to different classes.
>>
>>  I was not able to formulate query precisely. What is the *efficient way*
>> of querying this?
>>
>>
>> Somebody please help. Thanks.
>>
>  --
> 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