Support Tree Step
egzonzeneli opened this issue · comments
Is your feature request related to a problem? Please describe.
I checked the code and didn`t find implementation of Tree Step.
Describe the solution you'd like
Let`s say we have Employee Vertex and a Manages Edge ..,
If i want to get all the tree of one Manager with TreeStep would be something like ...
_g.V<EmployeeVertex>(empId)
.OutE<ManageEdge>()
.OutE<ManageEdge>()
.OutE<ManageEdge>()
.Tree()
.ToArrayAsync()
The return type I guess should be ValueTask<(EmployeeVertex, IEnumerable<EmployeeVertex>)[]>
Describe alternatives you've considered
Even though I can achieve that through Project
(didnt try it though), still i think the Tree Step would be nice addition
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I have tried with project
but was unable to make it work, do you have something working ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.