BitQuirky.Behavior.Nodes.Subgraph
Public behavior trees and state machines: runtime symbols in BitQuirky.Behavior.Nodes.Subgraph.
Source snapshot ad0983d00d77.
On this page
Assembly: BitQuirky.Behavior.Runtime
SubgraphReference
Section titled “SubgraphReference”Category: Node contracts
struct BitQuirky.Behavior.Nodes.Subgraph.SubgraphReferenceSource declaration: Packages/io.bitquirky.behavior/Runtime/Nodes/Subgraph/SubgraphReference.cs:57-78
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/Nodes/Subgraph/SubgraphReference.cs:67
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/Nodes/Subgraph/SubgraphReference.cs:62
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/Nodes/Subgraph/SubgraphReference.cs:73-77
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/Nodes/Subgraph/SubgraphReference.cs:27-36
Constants for the SubgraphReference node type.
Members
Section titled “Members”public const BitQuirky.Behavior.Baked.BakedNodeKind Kind = SubgraphReferenceSource declaration: Packages/io.bitquirky.behavior/Runtime/Nodes/Subgraph/SubgraphReference.cs:35
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/Nodes/Subgraph/SubgraphReference.cs:32-33
Kind token a subgraph reference carries in authored graph source.
Source fingerprint: sha256:ad0983d00d773d882bc61865e18d8c5559e009d181e5891575cd7f262515b23e