A connection between two vertices. It contains a reference to the two vertices as well as a colleciton of properties.

See Also:

Implements

Extended by

Methods

Graph\Result

inV

( )

Gets the “in” vertex.

Returns:
Type Details
Graph\Result

A graph vertex as a graph result.

string

inVLabel

( )

Gets the label of the “in” vertex.

Returns:
Type Details
string

The label of the “in” vertex.

Graph\Result

outV

( )

Gets the “out” vertex

Returns:
Type Details
Graph\Result

A graph vertex as a graph result.

string

outVLabel

( )

Gets the label of the “out” vertex.

Returns:
Type Details
string

The label of the “out” vertex

Graph\Result

id

( )

Gets the edge’s unique identifier.

Returns:
Type Details
Graph\Result

The edge’s identifier as a graph result.

string

label

( )

Gets the edge’s label.

Returns:
Type Details
string

The edge’s label.

array

properties

( )

Gets the edge’s properties as an array of graph results.

Returns:
Type Details
array

An array of graph results.

Graph\Result

property

( string $key )

Gets an edge’s property for a specific key.

Parameters:
Name Type Details
$key string

A property’s name

Returns:
Type Details
Graph\Result

An edge’s property as a graph result.