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 to vertex', 'getTo']

OEdge - getTo()

This method retrieves the vertex that connects to this edge.

Retrieving Vertices

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

Syntax

OVertex OEdge().getTo()

Return Value

This method returns the OVertex instance that links to the edge.