I have wrote a snippet code for edge creation in java using gremlin like
bellow:
OrientGraphFactory factory = *new* OrientGraphFactory(
"remote:localhost/OrientDB","root","user").setupPool(1,10);
Graph graph=factory.getTx();
Vertex v = graph.addVertex("class:BUS");
v.setProperty("Name", "hyd");
Vertex v1=graph.addVertex("class:STATION");
v1.setProperty("name", "sec");
Edge *edge*=graph.addEdge(*null*, v, v1, "DISTANCE");
it executed successfully but in Orient db browser the table are created
individually like BUS(V),STATION(V),DISTANCE(E). but when I am trying to "
Select from bus" it did't show the station with distanc edge. it showing
only BUS .please help me for create edges with proper way
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.