Skip to content

Part 2

Build & run models

The computational spine — how you write and run composites. This part is for modelers: it turns the vocabulary from Foundations into the concrete API for typing state, writing edges, wiring them into a runnable whole, and getting the data back out.

Schemas, types & state

The bigraph-schema type system — what state can be and how deltas merge back into it.

Processes & Steps

The two kinds of edge, split by their relationship to time, from base-class contract to runnable code.

Composites & wiring

Assemble edges and stores into the one object the engine runs, and see what happens on every tick.

Emitters

The one part of a composite allowed to leave the run — recording wired state each tick to a durable sink.

Templates & draft processes

Interface-first modeling — design a document with the mechanism left out, then fill it in later.

Explore a bigraph

See a real composite in the live loom explorer — pan, zoom, and drill into its wiring.

Suggested path

Read in order: Schemas for the ground rules, Processes & Steps to write functionality, Composites & wiring to run it, then Emitters to capture the output. Reach for Templates & draft processes when you want to design an interface before its mechanism exists.