pm4py.visualization.bpmn package

Submodules

pm4py.visualization.bpmn.visualizer module

class pm4py.visualization.bpmn.visualizer.Variants(value)[source]

Bases: enum.Enum

An enumeration.

CLASSIC = <module 'pm4py.visualization.bpmn.variants.classic' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\bpmn\\variants\\classic.py'>
pm4py.visualization.bpmn.visualizer.apply(bpmn_graph, variant=<Variants.CLASSIC: <module 'pm4py.visualization.bpmn.variants.classic' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\bpmn\\variants\\classic.py'>>, parameters=None)[source]

Visualize a BPMN graph

Parameters
  • bpmn_graph – BPMN graph

  • variant

    Variant of the visualization, possible values:
    • Variants.CLASSIC

  • parameters – Version-specific parameters

Returns

Graphviz representation

Return type

gviz

pm4py.visualization.bpmn.visualizer.matplotlib_view(gviz)[source]

Views the diagram using Matplotlib

Parameters

gviz – Graphviz

pm4py.visualization.bpmn.visualizer.save(gviz, output_file_path)[source]

Save the diagram

Parameters
  • gviz – GraphViz diagram

  • output_file_path – Path where the GraphViz output should be saved

pm4py.visualization.bpmn.visualizer.view(gviz)[source]

View the diagram

Parameters

gviz – GraphViz diagram

Module contents