BitQuirky.Behavior.Nodes.Subgraph
Public behavior trees and state machines: runtime backend symbols in BitQuirky.Behavior.Nodes.Subgraph.
Source snapshot 29003d8b1658.
On this page
Assembly: BitQuirky.Behavior.Runtime.Backend
SubgraphReference
Section titled “SubgraphReference”Category: Node contracts
struct BitQuirky.Behavior.Nodes.Subgraph.SubgraphReferenceSource declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Nodes/Subgraph/SubgraphReference.cs:40-61
Pure-data view of one subgraph reference. The owning behavior source
names another Mermaid behavior source by its source address
(label format"@addr:<address>") and the loader resolves
the referenced source into its own
BakedBehaviorArtifact; this struct only carries
the structural identity.
Responsibilities:
- Carry the owning node index + interned address index in the baked artifact’s string table.
- Project aBakedSubgraphReferencefor the runtime tick / debugger overlays.
Does NOT:
- Embed the referenced subgraph’s nodes. Those live in their own BakedBehaviorArtifactresolved by the loader.
- Detect cycles. The loader and the validator handle that.
Members
Section titled “Members”AddressInternedIndex
Section titled “AddressInternedIndex”public int AddressInternedIndexSource declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Nodes/Subgraph/SubgraphReference.cs:50
Index of the referenced source’s address in the artifact’s interned string table, not the address text itself.
OwningNodeIndex
Section titled “OwningNodeIndex”public int OwningNodeIndexSource declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Nodes/Subgraph/SubgraphReference.cs:45
Index in the baked node table of the node that carries this reference.
From(BakedSubgraphReference baked)
Section titled “From(BakedSubgraphReference baked)”public static BitQuirky.Behavior.Nodes.Subgraph.SubgraphReference From(BitQuirky.Behavior.Baked.BakedSubgraphReference baked)Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Nodes/Subgraph/SubgraphReference.cs:56-60
Projects the baked row into this view, copying the owning node index and interned address index; it neither resolves nor loads the referenced graph.
SubgraphReferenceConstants
Section titled “SubgraphReferenceConstants”Category: Node contracts
class BitQuirky.Behavior.Nodes.Subgraph.SubgraphReferenceConstantsSource declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Nodes/Subgraph/SubgraphReference.cs:10-19
Constants for the SubgraphReference node type.
Members
Section titled “Members”public const BitQuirky.Behavior.Baked.BakedNodeKind Kind = SubgraphReferenceSource declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Nodes/Subgraph/SubgraphReference.cs:18
Baked node kind stamped on a subgraph reference node.
NodeKindToken
Section titled “NodeKindToken”public const string NodeKindToken = "subgraph"Source declaration: Packages/io.bitquirky.behavior/Runtime/Backend/Nodes/Subgraph/SubgraphReference.cs:15-16
Kind token a subgraph reference carries in authored graph source.
Source fingerprint: sha256:29003d8b1658b98a79bebcd93e3b4030caf8511268b96817ab764d63df8d6c3b