pm4py.visualization.common.gview module#

pm4py.visualization.common.gview.view(gviz, parameters=None)[source]#

View the diagram

Parameters:

gviz – GraphViz diagram

pm4py.visualization.common.gview.matplotlib_view(gviz, parameters=None)[source]#

Views the diagram using Matplotlib

Parameters:

gviz – Graphviz

pm4py.visualization.common.gview.serialize_dot(gviz: Digraph, parameters=None) bytes[source]#

Serialize the DOT instructions of a Graphviz object

Parameters:

gviz – Graphviz object

Returns:

String containing the DOT instructions

Return type:

bytes_string

pm4py.visualization.common.gview.serialize(gviz: Digraph, parameters=None) bytes[source]#

Serialize the image rendered from a Graphviz object

Parameters:

gviz – Graphviz object

Returns:

String containing the picture

Return type:

bytes_string