for example, I want to find a subgraph for vid "player-001" and the nGQL language may be like this:
GET SUBGRAPH with prop {step_count} steps FROM "plyer-001" YIELD VERTICES AS nodes, EDGES AS relationships;
However, this nGQL may return vertices of the same type as "player-001"(e.g. "player-002"), which I do not need.
There is only a solution to filter vertices by prop value in nebula forum: 请问GET SUBGRAPH语句:是否支持对节点/边的类型 或 属性过过滤呢?
I know I can do this by using using "GO" statement, but the return format of "GO" is not same as that of "GET SUBGRAPH". So can I use "GET SUBGRAPH" directly to achive the above requirements?
for example, I want to find a subgraph for vid "player-001" and the nGQL language may be like this:
However, this nGQL may return vertices of the same type as "player-001"(e.g. "player-002"), which I do not need. There is only a solution to filter vertices by prop value in nebula forum: 请问GET SUBGRAPH语句:是否支持对节点/边的类型 或 属性过过滤呢?
I know I can do this by using using "GO" statement, but the return format of "GO" is not same as that of "GET SUBGRAPH". So can I use "GET SUBGRAPH" directly to achive the above requirements?