wasm4pm-types 26.5.21

Binary data structures for wasm4pm process mining platform
Documentation

wasm4pm-types

Binary data structures for the wasm4pm process mining platform.

This crate defines the canonical types used throughout the wasm4pm ecosystem, including event logs, process models, and conformance results.

Key Types

  • Event Logs: EventLog, Trace, Event, and OCEL (Object-Centric Event Logs).
  • Process Models: DFG (Directly-Follows Graph), PetriNet, and DeclareModel.
  • Conformance: ConformanceResult and TokenReplayResult.
  • Utilities: Blake3Hash for provenance and Error/Result types.

Usage

use wasm4pm_types::{EventLog, Trace, Event, Attributes};

// Create a simple event log
let mut log = EventLog {
    traces: vec![],
    attributes: Attributes::new(),
    format: "XES".to_string(),
};

License

Licensed under either of

at your option.