I didnt get your question initially, I believe.

To traverse from specific vertex, I use
*traverse out() from myclassx<rid> while $depth < 3*
But I need to somehow give option like
*traverse out('e1','e2','e3,'e5') <But Not> out('e4','e6') from
myclassx<rid> while $depth < 3*

Regards

Prabhat Kumar Singh



On Fri, Feb 28, 2014 at 12:58 AM, Luca Garulli <[email protected]> wrote:

> Ok,
> so how do you refer to e1? by RID, by a property?
>
> Lvc@
>
>
>
> On 27 February 2014 20:18, prabhat <[email protected]> wrote:
>
>> My bad.
>> e1 to e6 are edges.
>> myclass1 to myclass6 are vertex. To traverse to level 2, I want to avoid
>> e4 and e6.
>>
>> Regards
>>
>> Prabhat Kumar Singh
>>
>>
>>
>> On Fri, Feb 28, 2014 at 12:33 AM, Luca Garulli <[email protected]>wrote:
>>
>>> Hi,
>>> what's e4 and e5? Edge class/label name? An attribute on edge or vertex?
>>>
>>> Lvc@
>>>
>>>
>>> On 27 February 2014 19:31, Shishya <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have this need to traverse selectively, by avoiding a certain paths
>>>> at same level.
>>>>
>>>> My vertex-edge structure is like this. And starting from myclass1, I
>>>> need to traverse e1,e2,e3,e5 but not e4 and e5.
>>>> It is very tricky but is very interesting use case.
>>>>
>>>>
>>>>  myclass1---v----e2--->myclass2-e3--------v
>>>>    |  |   |
>>>>    |   e1   |
>>>>    e5  v    v
>>>>    | myclass3----e4------->myclass4
>>>>    |
>>>>    V
>>>> myclass5---e6--->myclass6
>>>>
>>>> Thanks
>>>>
>>>> --
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "OrientDB" 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/groups/opt_out.
>>>>
>>>
>>>  --
>>>
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "OrientDB" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/orient-database/IQA8WkwVkAQ/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "OrientDB" 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/groups/opt_out.
>>
>
>  --
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "OrientDB" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/orient-database/IQA8WkwVkAQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" 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/groups/opt_out.

Reply via email to