pm4py.visualization.ocel.interleavings.visualizer module#
- class pm4py.visualization.ocel.interleavings.visualizer.Variants(*values)[source]#
Bases:
Enum- GRAPHVIZ = <module 'pm4py.visualization.ocel.interleavings.variants.graphviz' from '/Users/chris/Desktop/PIS/pm4py2/pm4py/pm4py/visualization/ocel/interleavings/variants/graphviz.py'>#
- pm4py.visualization.ocel.interleavings.visualizer.apply(dataframe1: DataFrame, dataframe2: DataFrame, interleavings: DataFrame, variant=Variants.GRAPHVIZ, parameters: Dict[Any, Any] | None = None) Digraph[source]#
Visualizes the interleavings discovered between two different processes. We suppose to provide both event logs, and the discovered interleavings. The visualization includes the DFG of both processes, along with the arcs discovered between them. Both frequency and performance visualization are available.
- Parameters:
dataframe1 – Dataframe of the first process
dataframe2 – Dataframe of the second process
interleavings – Interleavings between the two considered processes
variant – Variant of the visualizer to apply, possible values: Variants.GRAPHVIZ
parameters – Variant-specific parameters
- Returns:
Graphviz Digraph
- Return type:
digraph
- pm4py.visualization.ocel.interleavings.visualizer.save(gviz: Digraph, output_file_path: str, parameters=None)[source]#
Save the diagram
- Parameters:
gviz – GraphViz diagram
output_file_path – Path where the GraphViz output should be saved