Skip to main content

gameModelTraverse

Traverse the container graph from a root container along a relationship type up to a depth, returning the reachable nodes and edges. Requires a valid token.

gameModelTraverse(
appId: BigInt!
rootId: String!
relationshipType: String!
depth: Int = 1
): GmTraverseResult!

Arguments

gameModelTraverse.appId ● BigInt! non-null scalar

The app (tenant) that owns the graph.

gameModelTraverse.rootId ● String! non-null scalar

The container UUID to start from.

gameModelTraverse.relationshipType ● String! non-null scalar

The edge relationship type to follow.

gameModelTraverse.depth ● Int scalar

How many edge hops to follow from the root. Defaults to 1.

Type

GmTraverseResult object

The result of a graph traversal: the reachable container nodes and the edges between them.