I Need to return some groups and people in that group, like this:
Group A -----Person A -----Person B -----Person C Group B -----Person D -----Person E -----Person F
How can I do that with gremlin. They are connected to group with a edge.
I Need to return some groups and people in that group, like this:
Group A -----Person A -----Person B -----Person C Group B -----Person D -----Person E -----Person F
How can I do that with gremlin. They are connected to group with a edge.
It is always helpful to include a sample graph with your questions on Gremlin preferably as a something easily pasted to the Gremlin Console as follows:
A solution to your problem is to use
group()
step: