pm4py.convert#

The pm4py.convert module contains the cross-conversions implemented in pm4py

Functions

convert_log_to_networkx(log[, include_df, ...])

Converts an event log object to a NetworkX DiGraph object.

convert_log_to_ocel(log[, activity_column, ...])

Converts an event log to an object-centric event log with one or more than one object types.

convert_ocel_to_networkx(ocel[, variant])

Converts an OCEL to a NetworkX DiGraph object.

convert_petri_net_to_networkx(net, im, fm)

Converts a Petri net to a NetworkX DiGraph.

convert_to_bpmn(*args)

Converts an object to a BPMN diagram.

convert_to_dataframe(obj)

Converts a log object to a dataframe

convert_to_event_log(obj[, case_id_key])

Converts a DataFrame/EventStream object to an event log object

convert_to_event_stream(obj[, case_id_key])

Converts a log object to an event stream

convert_to_petri_net(*args)

Converts an input model to an (accepting) Petri net.

convert_to_process_tree(*args)

Converts an input model to a process tree.

convert_to_reachability_graph(*args)

Converts an input model to a reachability graph (transition system).