pm4py.visualization.ocel.eve_to_obj_types.variants.graphviz module#
- class pm4py.visualization.ocel.eve_to_obj_types.variants.graphviz.Parameters(*values)[source]#
Bases:
Enum- FORMAT = 'format'#
- BGCOLOR = 'bgcolor'#
- RANKDIR = 'rankdir'#
- ANNOTATE_FREQUENCY = 'annotate_frequency'#
- ENABLE_GRAPH_TITLE = 'enable_graph_title'#
- GRAPH_TITLE = 'graph_title'#
- pm4py.visualization.ocel.eve_to_obj_types.variants.graphviz.apply(ocel: OCEL, parameters: Dict[Any, Any] | None = None) Digraph[source]#
Shows the relationships between the different event and object types of the object-centric event log.
- Parameters:
ocel – Object-centric event log
parameters – Parameters of the visualization, including: - Parameters.FORMAT => format of the visualization (.png, .svg) - Parameters.BGCOLOR => background color of the visualization (transparent, white) - Parameters.RANKDIR => direction of the graph (LR or TB) - Parameters.ANNOTATE_FREQUENCY => annotate the frequency on the arcs
- Returns:
Graphviz object
- Return type:
gviz