Skip to content

CompiledScriptGraph

Defined in: logic/ScriptGraphRunner.ts:52

A graph indexed for ticking: pins resolved, wires turned into lookups.

dataSources: Map<string, { node: string; port: string; }>

Defined in: logic/ScriptGraphRunner.ts:59

${nodeId}\0${inputPort} → the output feeding it.


destroys: string[]

Defined in: logic/ScriptGraphRunner.ts:64


events: Map<string, string[]>

Defined in: logic/ScriptGraphRunner.ts:66

Event type → the event.on nodes listening for it.


execTargets: Map<string, string>

Defined in: logic/ScriptGraphRunner.ts:57

${nodeId}\0${execPin} → the node that pin runs.


graph: ScriptGraph

Defined in: logic/ScriptGraphRunner.ts:53


optional inputNode?: string

Defined in: logic/ScriptGraphRunner.ts:76

The node a call arrives at, when this graph is one a call can enter.


nodes: Map<string, ScriptGraphNode>

Defined in: logic/ScriptGraphRunner.ts:54


optional outputNode?: string

Defined in: logic/ScriptGraphRunner.ts:78

The node a call returns from, where the graph names one.


prefabs: Map<string, PreparedPrefab>

Defined in: logic/ScriptGraphRunner.ts:74

The prefabs its entity.spawn nodes may spawn, by ref. Filled by whoever LOADED the graph — spawning is synchronous, so the loading happened then or it did not happen at all.


problems: string[]

Defined in: logic/ScriptGraphRunner.ts:68

What the graph asked for and this build could not give it.


shapes: Map<string, ScriptNodeShape>

Defined in: logic/ScriptGraphRunner.ts:55


starts: string[]

Defined in: logic/ScriptGraphRunner.ts:62


starvedInputs: Map<string, string[]>

Defined in: logic/ScriptGraphRunner.ts:61

Nodes an input wire reaches for and this build could not make.


updates: string[]

Defined in: logic/ScriptGraphRunner.ts:63