pm4py.visualization.dfg package

Submodules

pm4py.visualization.dfg.parameters module

class pm4py.visualization.dfg.parameters.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'
END_ACTIVITIES = 'end_activities'
FONT_SIZE = 'font_size'
FORMAT = 'format'
MAX_NO_EDGES_IN_DIAGRAM = 'maxNoOfEdgesInDiagram'
START_ACTIVITIES = 'start_activities'
START_TIMESTAMP_KEY = 'pm4py:param:start_timestamp_key'
TIMESTAMP_KEY = 'pm4py:param:timestamp_key'

pm4py.visualization.dfg.visualizer module

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

Bases: enum.Enum

An enumeration.

FREQUENCY = <module 'pm4py.visualization.dfg.variants.frequency' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\dfg\\variants\\frequency.py'>
PERFORMANCE = <module 'pm4py.visualization.dfg.variants.performance' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\dfg\\variants\\performance.py'>
pm4py.visualization.dfg.visualizer.apply(dfg0, log=None, activities_count=None, soj_time=None, parameters=None, variant=<Variants.FREQUENCY: <module 'pm4py.visualization.dfg.variants.frequency' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\dfg\\variants\\frequency.py'>>)[source]
pm4py.visualization.dfg.visualizer.matplotlib_view(gviz)[source]

Views the diagram using Matplotlib

Parameters

gviz – Graphviz

pm4py.visualization.dfg.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.dfg.visualizer.view(gviz)[source]

View the diagram

Parameters

gviz – GraphViz diagram

Module contents