Skip to main content
Rust4PM

image_export

process_mining::core::process_models::case_centric::process_tree::image_export

Functions in this Module(2)

export_process_tree_image_png

core::process_models::case_centric::process_tree::image_exportSource
Export the image of a ProcessTree as a PNG file
Also consider using ProcessTree::export_png for convenience.
ProcessTreerequiredObject-centric process tree struct that contains [`Node`] as root
Stringrequired
import r4pm

process_tree = {"root": {"Operator": {"children": [], "operator_type": 'Sequence'}}}
r4pm.bindings.export_process_tree_image_png(process_tree, 'example')

process_mining/src/core/process_models/case_centric/process_tree/image_export.rs:152

export_process_tree_image_svg

core::process_models::case_centric::process_tree::image_exportSource
Export the image of a ProcessTree as a SVG file
Also consider using ProcessTree::export_svg for convenience.
ProcessTreerequiredObject-centric process tree struct that contains [`Node`] as root
Stringrequired
import r4pm

process_tree = {"root": {"Operator": {"children": [], "operator_type": 'Sequence'}}}
r4pm.bindings.export_process_tree_image_svg(process_tree, 'example')

process_mining/src/core/process_models/case_centric/process_tree/image_export.rs:140