FromN

Get the node that the edge originates from.

::FromN

Example:

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

ToN

Get the node that the edge points to.

::ToN

Example:

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