Lua API

Node Neighbors

Traversing - Neighbors

Get the Neighbors for a Node

Node[] NodeGetNeighbors(String type, String key)

Get the Neighbors of a Direction for a Node

Node[] NodeGetNeighborsForDirection(String type, String key, Direction direction)

Get the Neighbors of a Direction and Type for a Node

Node[] NodeGetNeighborsForDirectionForType(String type, String key, Direction direction, String rel_type)

Get the Neighbors of a Direction and Type Id for a Node

Node[] NodeGetNeighborsForDirectionForTypeId(String type, String key, Direction direction, Number type_id)

Get the Neighbors of a Direction and Types for a Node

Node[] NodeGetNeighborsForDirectionForTypes(String type, String key, Direction direction, String[] rel_types)

Get the Neighbors of a Type for a Node

Node[] NodeGetNeighborsForType(String type, String key, String rel_type)

Get the Neighbors of a Type Id for a Node

Node[] NodeGetNeighborsForDirectionForTypeId(String type, String key, Direction direction, Number type_id)

Get the Neighbors of Types for a Node

Node[] NodeGetNeighborsForTypes(String type, String key, String[] rel_types)

Get the Neighbors for a Node by Id

Node[] NodeGetNeighborsById(Number id)

Get the Neighbors of a Direction for a Node by Id

Node[] NodeGetNeighborsByIdForDirection(Number id, Direction direction)

Get the Neighbors of a Direction and Type for a Node by Id

Node[] NodeGetNeighborsByIdForDirectionForType(Number id, Direction direction, String rel_type)

Get the Neighbors of a Direction and Type Id for a Node by Id

Node[] NodeGetNeighborsByIdForDirectionForTypeId(Number id, Direction direction, Number type_id)

Get the Neighbors of a Direction and Types for a Node by Id

Node[] NodeGetNeighborsByIdForDirectionForTypes(Number id, Direction direction, String[] rel_types)

Get the Neighbors of a Type for a Node by Id

Node[] NodeGetNeighborsByIdForType(Number id, String rel_type)

Get the Neighbors of a Type Id for a Node by Id

Node[] NodeGetNeighborsByIdForDirectionForTypeId(Number id, Direction direction, Number type_id)

Get the Neighbors of Types for a Node by Id

Node[] NodeGetNeighborsByIdForTypes(Number id, String[] rel_types)