Basics
Guides
API Reference
Basics
Guides
API Reference
[15:7] extends: FxObj
Wraps FXGL's SerializableGraph (com.almasb.fxgl.cutscene.dialogue.SerializableGraph), the Jackson-friendly form of a DialogueGraph. Holds the unique-id counter, start-node id, text-and-branch node map, function-node map, edge list, version int, and a uiMetadata map of SerializablePoint2D positions.
SerializableGraph (int UniqueID = -1, int StartNodeID = 0, object TextNodesMap = null, object FunctionNodesMap = null, object EdgesList = null)
Creates a new SerializableGraph. Pass UniqueID < 0 to construct an empty wrapper for adopt.
UniqueID is the node-id counter snapshot.StartNodeID is the start-node id.TextNodesMap is an AussomJavaObject around a Map<Int, SerializableTextNode>.FunctionNodesMap is an AussomJavaObject around a Map<Int, SerializableFunctionNode>.EdgesList is an AussomJavaObject around a Listadopt (object Ajo)
Wraps an existing SerializableGraph AussomJavaObject.
Ajo is an AussomJavaObject around a SerializableGraph.A new wrapper.getUniqueID ()
Returns the unique-id counter. @r An int.
getStartNodeID ()
Returns the start-node id. @r An int.
getTextNodes ()
Returns the text-and-branch nodes Map<Int, SerializableTextNode>.
An AussomJavaObject around a Map.getFunctionNodes ()
Returns the function nodes Map<Int, SerializableFunctionNode>.
An AussomJavaObject around a Map.getEdges ()
Returns the edges List
.
An AussomJavaObject around a List.getVersion ()
Returns the serialized graph version int.
setVersion (int Version)
Sets the serialized graph version int.
Version is the new version number.this objectgetUiMetadata ()
Returns the uiMetadata map of node-id to SerializablePoint2D used by editor tooling.
An AussomJavaObject around a HashMap.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.