Traversal uses ConstantsTrait
Represents the possible traversal directions for graph edges in ArangoDB.
This enum defines three constants that indicate the direction to follow during a graph traversal:
OUTBOUND: Follow edges from the starting vertex to the connected vertices.INBOUND: Follow edges from connected vertices to the starting vertex.ANY: Follow edges in both directions.
These values are used when defining edge traversal rules in graph queries. Note: These constants cannot be substituted by bind parameters in AQL queries.
Table of Contents
Constants
- ANY : string = 'ANY'
- Follow edges in both directions.
- INBOUND : string = 'INBOUND'
- Follow edges from connected vertices to the starting vertex.
- OUTBOUND : string = 'OUTBOUND'
- Follow edges from the starting vertex to the connected vertices.
Constants
ANY
Follow edges in both directions.
public
string
ANY
= 'ANY'
INBOUND
Follow edges from connected vertices to the starting vertex.
public
string
INBOUND
= 'INBOUND'
OUTBOUND
Follow edges from the starting vertex to the connected vertices.
public
string
OUTBOUND
= 'OUTBOUND'