Versions in this module Expand all Collapse all v0 v0.13.0 Nov 25, 2026 v0.12.1 Nov 6, 2026 v0.12.0 Nov 4, 2026 v0.11.0 Oct 24, 2026 v0.10.1 Oct 16, 2026 v0.10.0 Oct 11, 2026 Changes in this version type ActionForm + Concurrent []int type EdgeForm + Gate *SpanForm type EntryTransitionForm + Effect []BehaviorForm + Via *int type ObjectFlowForm + Gate *SpanForm v0.9.2 Oct 5, 2026 v0.9.0 Sep 25, 2026 Changes in this version + const GraphsVersion + var ErrFormUnsupported = errors.New("export: model form not supported") + var ErrGraphsOrder = errors.New("graphs: elements of one graph cannot be ordered") + var ErrGraphsSubject = errors.New("graphs: subject has no lowered graph") + var ErrNoSources = errors.New("export: the model has no source documents") + func MarshalGraphs(g *Graphs) ([]byte, error) + func RefuseRDFForm() error + type AcceptForm struct + Param string + Scope string + SignalType string + SubsetsEvent *ExprForm + Trigger *TriggerForm + ViaPort string + ViaSelf bool + type ActionForm struct + Attributes []AttributeForm + Bindings []PinBindingForm + Connections []ConnectionForm + Edges []EdgeForm + Error string + Finals []int + Flows []ObjectFlowForm + Initial *int + Kind string + Name string + Nodes []NodeForm + Parameters []ParameterForm + Scope string + type AttributeForm struct + Name string + Scope string + Span SpanForm + Types []string + Unit string + Value *ExprForm + type BehaviorForm struct + Body []StatementForm + Name string + Nodes []string + Owner *int + Scope string + Span SpanForm + type BlockForm struct + Graph *ActionForm + Own bool + Scope string + Stated bool + Statements []StatementForm + type ChainForm struct + Base *ExprForm + Steps []string + Text string + type ChannelForm struct + Port string + Signal string + type ConnectionForm struct + Ends []string + Owner string + Scope string + Variant string + Variation string + type Document struct + Path string + Text string + type EdgeForm struct + Decl SpanForm + Else bool + Guard *ExprForm + Probability *ExprForm + Source int + Target int + type EntryTransitionForm struct + Body *int + Decl SpanForm + Guard *ExprForm + Scope string + Target int + type ExprForm struct + Span SpanForm + Text string + type FeatureForm struct + Direction string + Name string + Result bool + Scope string + Span SpanForm + Types []string + Unit string + Value *ExprForm + type FootprintForm struct + Accepts []ChannelForm + Control []int + Dynamic bool + Reads []PlaceForm + Sends []ChannelForm + Writes []PlaceForm + type FormUnsupportedError struct + Form string + Reason string + func (e *FormUnsupportedError) Error() string + func (e *FormUnsupportedError) Unwrap() error + type Graphs struct + Actions []*ActionForm + States []*StateForm + Subject string + Version int + func GraphsOf(model *runtime.Model, subject *symbols.Symbol) (*Graphs, error) + type NodeForm struct + Accept *AcceptForm + Block []int + Body []StatementForm + Features []FeatureForm + Footprint *FootprintForm + ID int + Kind string + Name string + Performs []string + Scope string + Span SpanForm + StatementRun bool + Subflow *SubflowForm + type ObjectFlowForm struct + Decl SpanForm + Kind string + Name string + Source int + SourcePin string + Target int + TargetPin string + type ParameterForm struct + Direction string + Name string + Optional bool + Result bool + Scope string + Span SpanForm + Types []string + Unit string + Value *ExprForm + type PinBindingForm struct + Decl SpanForm + FromValue bool + Node *int + Other *ExprForm + OtherChain *ChainForm + OtherFeature string + OtherNode *int + OtherPath []string + OtherPin string + Path []string + Pin string + Scope string + type PlaceForm struct + Local bool + Name string + Symbol string + type RegionForm struct + ID int + Initial *int + Name string + Owner *int + Span SpanForm + State *int + Top bool + type Sources struct + Documents []Document + Library string + func SourcesOf(model *runtime.Model) (*Sources, error) + type SpanForm struct + Document string + Len int + Offset int + type StateForm struct + Attributes []AttributeForm + Connections []ConnectionForm + EntryTransitions []EntryTransitionForm + Error string + Initial *int + Kind string + Machine *int + Name string + Regions []RegionForm + Scope string + Transitions []TransitionForm + Vertices []StateVertexForm + type StateVertexForm struct + Attributes []AttributeForm + Deferred []TriggerForm + Do []BehaviorForm + Entry []BehaviorForm + Exit []BehaviorForm + Hidden bool + HiddenRegion *int + ID int + Kind string + Name string + Owner *int + Parent *int + Region *int + Regions []int + Scope string + Span SpanForm + type StatementForm struct + Body *BlockForm + Chain *ChainForm + Collection *ExprForm + Condition *ExprForm + Description string + Effect string + Else *BlockForm + Kind string + Loop string + Message *ExprForm + Name string + Performs []string + Receiver string + ReceiverExpr *ExprForm + ReceiverPath bool + Scope string + Span SpanForm + Target string + TargetExpr *ExprForm + TargetPath bool + TargetSymbol string + Then *BlockForm + Until *ExprForm + Value *ExprForm + Variable string + Via bool + ViaSelf bool + type SubflowForm struct + Error string + Graph *ActionForm + type TransitionForm struct + BodyScope string + Decl SpanForm + Effect []BehaviorForm + Guard *ExprForm + Name string + Scope string + Source int + Target int + Trigger *TriggerForm + Via string + type TriggerForm struct + Absolute bool + Condition *ExprForm + Duration *ExprForm + Kind string + Operation string + Parameters []string + Payload string + SignalType string + Span SpanForm + Subsets string + Text string