Skip to content
Bit Quirky Behavior Trees and
State Machines

Search documentation

All topics and APIs

Close returns focus to Search.

What are you looking for?

Try a common topic or enter a complete API identifier.

Browse the reference instead

Esc closes · Tab reaches results · Enter opens the focused link

v0.6.0
Menu

BitQuirky.Behavior.Nodes.Subgraph

Public behavior trees and state machines: runtime symbols in BitQuirky.Behavior.Nodes.Subgraph.

Source snapshot ad0983d00d77.

Assembly: BitQuirky.Behavior.Runtime

Category: Node contracts

C#
struct BitQuirky.Behavior.Nodes.Subgraph.SubgraphReference

Source 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.

C#
public int AddressInternedIndex

Source 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.

C#
public int OwningNodeIndex

Source declaration: Packages/io.bitquirky.behavior/Runtime/Nodes/Subgraph/SubgraphReference.cs:62

Index in the baked node table of the node that carries this reference.

C#
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.

Category: Node contracts

C#
class BitQuirky.Behavior.Nodes.Subgraph.SubgraphReferenceConstants

Source declaration: Packages/io.bitquirky.behavior/Runtime/Nodes/Subgraph/SubgraphReference.cs:27-36

Constants for the SubgraphReference node type.

C#
public const BitQuirky.Behavior.Baked.BakedNodeKind Kind = SubgraphReference

Source declaration: Packages/io.bitquirky.behavior/Runtime/Nodes/Subgraph/SubgraphReference.cs:35

Baked node kind stamped on a subgraph reference node.

C#
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

Full-size image