Skip to main content
Rust4PM

drawing

process_mining::bindings::reflow_bindings::drawing

Functions in this Module(2)

reflow_annotated_ocpn_drawing

bindings::reflow_bindings::drawingSource

The flat net, build options with a badge per non-flow cell, and the style of the added

places, for the ocpn_* visualization bindings.

Arguments
Import from .json
AnnotatedOcpnDrawing

What [`crate::visualization::ocpn`] draws an [`AnnotatedOcpn`] from: the net, build

import r4pm

model = r4pm.import_item('AnnotatedOcpn', 'model.json')
res = r4pm.bindings.reflow_annotated_ocpn_drawing(model)

reflow_annotated_ocpn_svg

bindings::reflow_bindings::drawingSource

Draw an annotated net as a standalone SVG document.

Arguments
Import from .json
OcpnStyle= {...}

Colors and sizes an object-centric Petri net drawing uses.

String
import r4pm

model = r4pm.import_item('AnnotatedOcpn', 'model.json')
res = r4pm.bindings.reflow_annotated_ocpn_svg(model)