amazon-web-servicesgremlingraph-notebook

Gremlin - how to show IN edges and vertex for specific vertex


I need to show a specific vertex with IN edges and related vertex. I tried with this but I don't have a graph

%%gremlin -p v-d,oute,inv, -d name g.V().has('name','my_value').outE().inV().path().by(elementMap())

how can I modify my command?

For example, I have created this graph vertex OUT

Now I want to show INCOMING edges and vertexs for a specific vertex


Solution

  • The visualization will be for the path created in the query. You cannot expand an existing visualization currently. So to see the incoming edges you will need to either add that to the current query or create a new one that contains inE and outV steps