Skip to main content
Overview > Inworld Graph Class: UInworldGraph | Inherits from: UObject Represents a blueprintable and programmable runtime graph. Provides functionality for creating, compiling, and executing graphs asynchronously using callbacks. The graph can manage nodes, edges, and execution states for real-time execution purposes.

Methods

Reference

CancelAllExecutions

Cancels all ongoing and pending executions CancelAllExecutions Blueprint Node

Examples


CancelExecution

Cancels an ongoing graph execution CancelExecution Blueprint Node

Examples

Parameters


CheckNodeByName

Utility function for determining if a node exists in the graph

Examples

Returns

Type: bool Description: true if a node with the name exists, false otherwise

GetAllExecutions

Gets all current executions (running and pending) GetAllExecutions Blueprint Node

Examples

Returns

Type: TArray<FInworldGraphExecution> Description: Array of all current executions

GetExecutionInfo

Gets information about a specific execution GetExecutionInfo Blueprint Node

Examples

Parameters

Returns

Type: FInworldGraphExecution Description: The execution information, or empty struct if not found

GetExecutionMode

Gets the current execution mode GetExecutionMode Blueprint Node

Examples

Returns

Type: EInworldGraphExecutionMode Description: The current execution mode

GetExecutionStatus

Gets the status of a specific execution GetExecutionStatus Blueprint Node

Examples

Parameters

Returns

Type: EInworldGraphExecutionStatus Description: The current status of the execution

GetGraphInstance

Creates and compile an instance of the given InworldGraph asset. GetGraphInstance Blueprint Node

Examples

Parameters


GetGraphInstance

GetGraphInstance Blueprint Node

Examples


GetNodeByName

Utility function for grabbing a member node by its unique id GetNodeByName Blueprint Node

Examples

Parameters

Returns

Type: UInworldNode* Description: Pointer to the node with the given name, or nullptr if not found

GetNodeByName

GetNodeByName Blueprint Node

Examples

Returns

Type: return

GetNodeByName

GetNodeByName Blueprint Node

Examples

Returns

Type: UInworldNode*

GetPendingExecutionsCount

Gets the number of pending executions GetPendingExecutionsCount Blueprint Node

Examples

Returns

Type: int32 Description: Number of pending executions

GetRunningExecutionsCount

Gets the number of currently running executions GetRunningExecutionsCount Blueprint Node

Examples

Returns

Type: int32 Description: Number of running executions

IsCompiled

Checks if the graph has been compiled IsCompiled Blueprint Node

Examples

Returns

Type: bool Description: True if the graph is compiled, false otherwise

IsExecutionCanceled

Checks if an execution is canceled IsExecutionCanceled Blueprint Node

Examples

Parameters

Returns

Type: bool Description: True if the execution is canceled, false otherwise

Lock

Examples

Returns

Type: FScopeLock

SetExecutionMode

Sets the execution mode for the graph SetExecutionMode Blueprint Node

Examples

Parameters


SetGraphId

Utility function for changing the graph’s string identifier

Examples