Skip to main content
Overview > Inworld Graph Asset Class: UInworldGraphAsset | Inherits from: UObject Asset representation of an Inworld graph for serialization and storage. This class serves as the asset representation of an Inworld graph, containing all nodes, edges, and configuration data necessary to create and execute runtime graphs. It provides functionality for graph validation, configuration generation, and runtime graph instance creation.

Methods

Reference

GetGraphConfig

Retrieves the graph configuration as a string. GetGraphConfig Blueprint Node

Examples

Returns

Type: const FString& Description: The graph configuration string.

GetGraphInstance

Creates and returns a compiled graph instance asynchronously. GetGraphInstance Blueprint Node

Examples

Parameters


GetGraphInstance

GetGraphInstance Blueprint Node

Examples


GetLevelNum

Gets the number of levels in the graph hierarchy. GetLevelNum Blueprint Node

Examples

Returns

Type: int Description: The number of levels in the graph.

GetNodesByLevel

Retrieves all nodes at a specific level in the graph hierarchy. GetNodesByLevel Blueprint Node

Examples

Parameters


IsValidAsSubgraph

Checks if this graph asset is valid for use as a subgraph. IsValidAsSubgraph Blueprint Node

Examples

Returns

Type: bool Description: True if the graph can be used as a subgraph, false otherwise.

Print

Prints debug information about the graph. Print Blueprint Node

Examples

Parameters