FromN

Get the node that the edge originates from.

::FromN

Example

QUERY GetFollowerFromRelationship(relationshipID: ID) {
    follower <- E<Follows>(relationshipID)::FromN
    RETURN follower
}

FromV

Get the vector that the edge originates from.

::FromV

Example

QUERY GetFollowerFromRelationship(relationshipID: ID) {
    follower <- E<Follows>(relationshipID)::FromV
    RETURN follower
}

ToN

Get the node that the edge points to.

::ToN

Example

QUERY GetFollowingFromRelationship(relationshipID: ID) {
    followed_user <- E<Follows>(relationshipID)::ToN
    RETURN followed_user
}

ToV

Get the vector that the edge points to.

::ToV

Example

QUERY GetFollowingFromRelationship(relationshipID: ID) {
    followed_user <- E<Follows>(relationshipID)::ToV
    RETURN followed_user
}