pm4py.visualization.common.html module#

class pm4py.visualization.common.html.Parameters(*values)[source]#

Bases: Enum

IFRAME_WIDTH = 'iframe_width'#
IFRAME_HEIGHT = 'iframe_height'#
LOCAL_JUPYTER_FILE_NAME = 'local_jupyter_file_name'#
pm4py.visualization.common.html.form_html(gviz, name=None)[source]#

Forms the HTML page using GraphvizJS

Parameters:
  • gviz – GraphViz diagram

  • name – (optional) path where the GraphViz output should be saved

Returns:

Path where the GraphvizJS output is saved

Return type:

name

pm4py.visualization.common.html.save(gviz, output_file_path, parameters=None)[source]#

Saves the diagram in HTML format

Parameters:
  • gviz – GraphViz diagram

  • output_file_path – Path where the GraphViz output should be saved

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

View the diagram in HTML format

Parameters:

gviz – GraphViz diagram