Skip to content

Coral DSL ​

Common source forms for application users; the complete normative language specification remains separate from this task lookup.

FormMeaningExample
ObjectA named object with a stable idservice "API" as api
ConnectionA labelled directed connectionapi -> db [label: "writes"]
Graph optionGraphIR layout options@graph {"id":"orders","layoutOptions":{"direction":"RIGHT"}}
Exact positionAuthored coordinates@ (120, 80)
PinKeep an authored position fixedpinned
Route intentAn authored waypointvia (200, 100)
PropertyTyped metadata[owner: "platform"]
DataStructured JSON metadatadata {"tier":"critical"}
coral
@graph {"id":"orders","layoutOptions":{"direction":"RIGHT"}}

service "API" as api @ (120, 80) pinned
database "Orders" as db
api -> db [label: "writes"]

Coral source preserves authored GraphIR 2 spatial meaning. These forms are parsed by the same shipped parser used by the editor.