1

I want to get a graph with the label edge. How can do it?

I use this my graph_notebook and magic cell code like this, and standard visualization options:

%%gremlin g.V().out().path()

but it doesn't show any edge label or property. Thank you

Tried to use -d and -de options(though need a label, not a property), it was no use

olyck
  • 13
  • 2

1 Answers1

1

The path needs to include the edge for its labels and properties to be available in the visualization. As a start, try using

%%gremlin 
g.V().outE().inV().
  path().
    by(elementMap())
Kelvin Lawrence
  • 14,674
  • 2
  • 16
  • 38