I’m trying to create a query that will find all “external incoming edges” in a subgraph. With “subgraph” I mean all vertices that will be traversed when initiating traversal at a specified “RootNode” using something like:
SELECT FROM (TRAVERSE out() FROM (SELECT FROM V WHERE name=“RootNode”))
In the example image below the “subgraph” is the black vertices ( and edges ) and the edges I would like to find with a query is the green edges.
Is it possible to use a single query to find the green incoming edges where only the “RootNode” is specified as a parameter?