I have tried using gremlin pipes. pipeline.start(startvertex).as(“x”).out(“child”).loop(“x”,w->true,e->true)
On Mon, Aug 6, 2018 at 9:05 PM, Prakash Deivakani <[email protected]> wrote: > Or a stack? > > On Tue, Aug 7, 2018, 9:34 AM Prakash Deivakani <[email protected]> > wrote: > >> Hi what did you try? Did you try using a queue? >> >> On Tue, Aug 7, 2018, 1:21 AM <[email protected]> wrote: >> >>> HI All, >>> I am new to OrientDB and i am trying to perform graph traversal using >>> Gremlin pipes API. >>> I have a graph in form of >>> (Parent1:Vertex)-(HAS_CHILD:EDGE)->(Child1:Vertex)-(HAS_CHILD:EDGE)->(child2:Vertex)-*.... >>> and so on the hierarchy. >>> >>> I have this in the OrientGraph object. >>> I am trying to perform DFS traversal starting at any given vertex and >>> traverse to find all the child nodes it has. like immediate child, den >>> child's child and so on. But i am not able to perform this traversal. Any >>> code examples or help will >>> be useful. >>> >>> Regards, >>> >>> -- >>> >>> --- >>> 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/d/optout. >>> >> -- > > --- > 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/d/optout. > -- --- 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/d/optout.
