Skip to main content
Rust4PM

dotted_chart

process_mining::analysis::case_centric::dotted_chart

Functions in this Module(1)

get_dotted_chart

analysis::case_centric::dotted_chartSource
Generate dotted chart data from an event log.
Traces are sorted by the timestamp of their first event. Each event
produces one dot with coordinates determined by the configured axes.
EventLogrequired
DottedChartOptionsOptions for [`get_dotted_chart`].
import r4pm

# Also: .xes.gz, .json
xes = r4pm.import_item('EventLog', 'log.xes')
# Optional argument: options, can also be omitted
options = {
    "color_axis": 'Activity',
    "timestamp_key": 'example',
    "x_axis": 'Time',
    "y_axis": 'Case',
}
res = r4pm.bindings.get_dotted_chart(xes, options)

process_mining/src/analysis/case_centric/dotted_chart.rs:199