Runtime Graph Editors
Display graph editors dynamically during runtime.
Last updated
Display graph editors dynamically during runtime.
Last updated
This article assumes basic knowledge of Blueprint visual scripting.
Start by spawning the blueprint node.
Choose OpenLogicGraphEditor as the widget class from the dropdown menu.
Ensure you provide all the libraries that the graph editor depends on.
Spawn a Construct Object From Class node.
Select Open Logic Graph Object class.
Call the InitializeGraphEditor function on the Graph Editor and provide the created graph object.
We will use this default object in our example. However, you should consider implementing it into your own custom save game objects.
Choose the .
Add the necessary so the graph editor knows which tasks to load.
Add the to customize the appearance of the graph editor.
Use the node to display the graph editor on your screen.
It's good to note that Open Logic includes a default named SG_OpenLogicGraph that simply contains a graph data structure.