Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help


search: keywords: ['Java API', 'OEdge', 'OElement', 'get from vertex', 'getFrom']

OEdge - getFrom()

This method retrieves the vertex that connects from this edge.

Retrieving Vertices

Edges provide links between vertices. The link connects from one vertex and to another. This method allows you to retrieve the OVertex instance that links from the edge. To access the vertex that links to the edge, see the getTo() method.

Syntax

OVertex OEdge().getFrom()

Return Value

This method returns the OVertex instance that links from this edge.