Skip to main content

gameModelAddEdge

Create a directed relationship edge between two containers (the game model is a graph), with a relationship type and optional weight. Requires a valid token.

gameModelAddEdge(
input: AddEdgeInput!
): GmEdge!

Arguments

gameModelAddEdge.input ● AddEdgeInput! non-null input

The app, the from/to container ids, the relationship type, and an optional weight and metadata.

Type

GmEdge object

A directed relationship edge between two containers.