-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A query statement to retrieve a sub-graph #166
Comments
The syntax for getting subgraph
V0 is the starting vertex, V1 is the first-degree vertices, V2 is the second-degree vertices. The result is JSON format, return all paths from the start vertex. The returned data set has redundant data because it is returned by path. |
FYR, subgraph syntax of cypher is:
Example. Expand to local subgraph (and all its relationships) within 4 traversals:
Result in table format: In text format: In graph format: |
Very good start point. Here are couple things I can think of
|
Co-authored-by: kyle.cao <kyle.cao@vesoft.com>
We need a new query statement to retrieve the entire sub-graph from one or multiple vertices. The sub-graph needs to include all edges not only starting from the given vertices, but also between any two vertices in the sub-graph
The text was updated successfully, but these errors were encountered: