All Functions
Browse all 149 available functions in the library.
Add artificial init/exit events to an OCEL
Compute alignment for a single trace (given as activity sequence).
Compute alignments for all variants from a pre-computed activity projection.
Computes token-based replay for a Petri net that has unique labels and no silent transitions
Compute fitness stats from alignment results
Conversion rate from `source_type` to `target_type` via O2O, restricted to targets touched by `activity`.
Lay the model out, returning the positions only.
The layout request of the model, with the model element behind each node and edge.
Draw the model over a layout of its graph, with per-node and per-edge style overrides.
Draw the model as a standalone SVG document.
Draw the model over a layout of its graph as a standalone SVG document, so no [`Scene`]
Discovers an [`AcceptingPetriNet`] with the Alpha+++ process discovery algorithm.
Discover [`DirectlyFollowsGraph`] with default classifier
Discovers an [`AcceptingPetriNet`] with the Inductive Miner, by converting the
Discovers a [`ProcessTree`] with the Inductive Miner.
Discover behavioral OC-DECLARE constraints from the given OCEL
[`discover_ocdfg_from`] on a [`SlimLinkedOCEL`], which is what the binding takes.
[`discover_ocpn_from`] on a [`SlimLinkedOCEL`], returning the flat JSON form.
Discover path schemas between the query types: enumerate schemas, summarize each schema's
The [`EscapingEdgesOptions`] of a preset, e.g., for a host to adjust before calling
Escaping-edges precision of `net` with respect to `log`
Escaping-edges precision of `net` with respect to the log behind `alignments`
Count related `(event, object)` pairs per `(event_type, object_type)` pair.
Aggregate event timestamps into a fixed number of bins, grouped by activity.
The distinct values `table.column` holds in the source named `source_id`, for compiling a
Every distinct value of `table.column` in a source held in the registry.
Compile `blueprint` into SQL views presenting the OCEL 2.0 surface over `catalog`'s tables,
The source kinds *this build's* connector can open, as `dbcon` backend ids (`"csv"`,
Connect to every source in `connections` and discover its schema, returning one merged
Discover the schema of every source in `sources`, merged into one [`ExtractionCatalog`].
Run `blueprint` against `connections`, storing the extracted log under `output_id` and
Run `blueprint` against sources held in the registry, returning the resulting log.
Run `blueprint` against `connections`, streaming straight to a new `DuckDB` file at
The first `limit` rows of `table` in the source named `source_id`, for showing a person what
The first `limit` rows of `table` in a source held in the registry.
Check `blueprint` against `catalog` for problems decidable from the schema alone, such as an
Flatten an OCEL on a specific object type, resulting in a case-centric Event Log
Get the directly-follows graph (DFG) for objects of the given object type.
Generate dotted chart data from an event log.
Extract the attribute change history for a specific object.
Get the list of all activity names in the projection
Get the `n` most frequent process variants, sorted by frequency (descending)
Get all process variants, sorted by frequency (descending)
Get all activity-trace variants for objects of the given object type, with their occurrence counts
The settings of an Inductive Miner variant under a preset, with a noise threshold of `0.2`
Lay the graph of `request` out with the layered engine, e.g., the `request` of a
Lay the rooted tree or forest of `request` out with the tidy-tree engine, e.g., the `request`
Add an E2O (event-to-object) relationship with the given qualifier.
Add an event and return its [`EventIndex`].
Add an event type with the given ordered attribute declarations.
Add a directed O2O (object-to-object) relationship from `from_obj` to `to_obj` with the given qualifier.
Add an object and return its [`ObjectIndex`].
Add a value to the history of an object attribute.
Add an object type with the given ordered attribute declarations.
Add many events and objects, referring to objects by id.
Remove all E2O relationships between the given event and object (across every qualifier).
Remove all O2O relationships from `from_obj` to `to_obj` (across every qualifier).
Get the E2O relationships of an event as `(qualifier, object_index)` pairs.
Get the reverse E2O relationships of an object (events relating to it) as
Get the ids of the events related to an object, or `None` for an unknown object id.
Get the value of an event attribute by name. `None` if the attribute does not exist.
Look up an event by its ID string. `None` if not found.
Get the ID string of an event.
Get the ids of all events of a type.
Get the timestamp of an event.
Get the event type specification (name + attributes), or `None` if unknown.
Get the event type (activity) of an event.
Get all declared event type names, in declaration order.
Get all event indices of the given event type. Empty if unknown.
Get the full [`OCELEvent`] (resolved type name, named attributes, string object IDs).
Get the full [`OCELObject`] (resolved type name, named time-indexed attributes, string object IDs).
Get the outgoing O2O relationships of an object as `(qualifier, object_index)` pairs.
Get the reverse O2O relationships of an object (objects with an O2O to it) as `(qualifier, object_index)` pairs.
Get the activity trace of an object (i.e., the sequence of event types connected to the object,
Get the time-indexed history of an object attribute by name as `(timestamp, value)` pairs. Empty if absent.
Look up an object by its ID string. `None` if not found.
Get the ID string of an object.
Get the ids of all objects of a type.
Get the object type specification (name + attributes), or `None` if unknown.
Get the object type of an object.
Get all declared object type names, in declaration order.
Get all object indices of the given object type. Empty if unknown.
Create a new empty [`SlimLinkedOCEL`].
Get the total number of cases in the projection
Get the number of events in an [`OCEL`]
Get the number of objects in an [`OCEL`]
Get the number of distinct trace variants in the projection
Returns the confidence conformance of an OC-DECLARE arc on the given OCEL
Per activity of `ocel`, how many objects of each type one of its events involves, as
Lay the model out, returning the positions only.
The layout request of the model, with the model element behind each node and edge.
Draw the model over a layout of its graph, with per-node and per-edge style overrides.
Draw the model as a standalone SVG document.
Draw the model over a layout of its graph as a standalone SVG document, so no [`Scene`]
Per-event sojourn time.
Per-event synchronization time and the delaying object.
The type graph of an OCEL: its event and object types with their counts, and their qualified
Lay the model out, returning the positions only.
The layout request of the model, with the model element behind each node and edge.
Draw the model over a layout of its graph, with per-node and per-edge style overrides.
Draw the model as a standalone SVG document.
Draw the model over a layout of its graph as a standalone SVG document, so no [`Scene`]
Lay the model out, returning the positions only.
The layout request of the model, with the model element behind each node and edge.
Draw the model over a layout of its graph, with per-node and per-edge style overrides.
Draw the model as a standalone SVG document.
Draw the model over a layout of its graph as a standalone SVG document, so no [`Scene`]
Compute statistics on object/event types in the OCEL
Lay the model out, returning the positions only.
The layout request of the model, with the model element behind each node and edge.
Draw the model over a layout of its graph, with per-node and per-edge style overrides.
Draw the model as a standalone SVG document.
Draw the model over a layout of its graph as a standalone SVG document, so no [`Scene`]
Lay the model out, returning the positions only.
The layout request of the model, with the model element behind each node and edge.
Draw the model over a layout of its graph, with per-node and per-edge style overrides.
Draw the model as a standalone SVG document.
Draw the model over a layout of its graph as a standalone SVG document, so no [`Scene`]
Find the concrete instance connections of a single (resolved) schema, with metrics and
Enumerate type-level path schemas between two types (or from one type), without any
Lay the model out, returning the positions only.
The layout request of the model, with the model element behind each node and edge.
Draw the model over a layout of its graph, with per-node and per-edge style overrides.
Draw the model as a standalone SVG document.
Draw the model over a layout of its graph as a standalone SVG document, so no [`Scene`]
Lay the model out, returning the positions only.
The layout request of the model, with the model element behind each node and edge.
Draw the model over a layout of its graph, with per-node and per-edge style overrides.
Draw the model as a standalone SVG document.
Draw the model over a layout of its graph as a standalone SVG document, so no [`Scene`]
Project OC-DECLARE arcs onto a subset of activities, preserving constraints
Reduce OC-DECLARE arcs based on lossless/lossy transitive reduction
Reflow under the abstraction [`ReflowOptions::abstraction`] names.
Discover an object-centric Petri net from the flow projection of a log under a result, with
The flat net, build options with a badge per non-flow cell, and the style of the added
The object-centric Petri net of an annotated net, as a handle for other bindings.
Draw an annotated net as a standalone SVG document.
The cells of a result with their states, and its counts.
The flow projection of a log under a result, which is what discovery reads: the same as
The flowing participations of a tagged log, which is what discovery reads.
Read the flow layer off a tagged log and annotate it.
Every participation of a tagged log, with the `!` prefix dropped.
Tag a log with a result's flow layer: non-flow participations get the `!` qualifier prefix,
The log a tagged log tags: added participations removed and the `!` prefix dropped.
A result for another flow layer of the same log, e.g., an edited one, repaired so that every
Draw a scene, e.g., from a `<model>_scene_from_layout`, as a standalone SVG document. Elements
Keep every node where it is and route the edges again, e.g., after the user dragged a node.
Stream an OCEL file into a new `DuckDB` database in the consolidated schema.
Write an in-memory OCEL into a new `DuckDB` database in the consolidated schema.