I have been trying to look through documentation. I am just trying to find a simple example to identify as mentioned in the title if 2 vertices are connected to each other. This is for OrientDB 3 using the tinkerpop API blueprints 2.6. Ex: Vertex v1; Vertex v2;
boolean connected = false;
connected = <somefunction returns true/false if v1 and v2 connected by an edge>;
Can someone please provide an example if they have seen something like this?
try this:
Hope it helps
Regards