scxml 0.2.0

W3C SCXML statechart library — parse, validate, export, and simulate Harel statecharts. Framework-agnostic, WASM-ready, rkyv zero-copy.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Core model types for W3C SCXML statecharts.

/// Action descriptors (raise, send, assign, log, cancel, if, foreach, script, invoke, custom).
pub mod action;
/// Data model declarations.
pub mod datamodel;
/// State types and iterators.
pub mod state;
/// Statechart root type.
pub mod statechart;
/// Transition types.
pub mod transition;

pub use action::{Action, ActionKind, IfBranch};
pub use datamodel::{DataItem, DataModel};
pub use state::{HistoryKind, State, StateKind};
pub use statechart::{Binding, Statechart};
pub use transition::{Transition, TransitionType};