pm4py.visualization.dfg.variants package#

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

Submodules#

pm4py.visualization.dfg.variants.cost module#

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

class pm4py.visualization.dfg.variants.cost.Parameters(value)[source]#

Bases: Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'#
FORMAT = 'format'#
MAX_NO_EDGES_IN_DIAGRAM = 'maxNoOfEdgesInDiagram'#
START_ACTIVITIES = 'start_activities'#
END_ACTIVITIES = 'end_activities'#
TIMESTAMP_KEY = 'pm4py:param:timestamp_key'#
START_TIMESTAMP_KEY = 'pm4py:param:start_timestamp_key'#
FONT_SIZE = 'font_size'#
AGGREGATION_MEASURE = 'aggregation_measure'#
RANKDIR = 'rankdir'#
BGCOLOR = 'bgcolor'#
pm4py.visualization.dfg.variants.cost.apply(dfg: Dict[Tuple[str, str], int], log: Optional[EventLog] = None, parameters: Optional[Dict[Any, Any]] = None, activities_count: Optional[Dict[str, int]] = None, serv_time: Optional[Dict[str, float]] = None) Digraph[source]#

Visualize a cost-based directly-follows graph

Parameters#

dfg

Performance Directly-follows graph

log

(if provided) Event log for the calculation of statistics

activities_count

(if provided) Dictionary associating to each activity the number of occurrences in the log.

serv_time

(if provided) Dictionary associating to each activity the average service time

parameters

Variant-specific parameters

Returns#

gviz

Graphviz digraph

pm4py.visualization.dfg.variants.frequency module#

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

class pm4py.visualization.dfg.variants.frequency.Parameters(value)[source]#

Bases: Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'#
FORMAT = 'format'#
MAX_NO_EDGES_IN_DIAGRAM = 'maxNoOfEdgesInDiagram'#
START_ACTIVITIES = 'start_activities'#
END_ACTIVITIES = 'end_activities'#
TIMESTAMP_KEY = 'pm4py:param:timestamp_key'#
START_TIMESTAMP_KEY = 'pm4py:param:start_timestamp_key'#
FONT_SIZE = 'font_size'#
RANKDIR = 'rankdir'#
BGCOLOR = 'bgcolor'#
STAT_LOCALE = 'stat_locale'#
pm4py.visualization.dfg.variants.frequency.apply(dfg: Dict[Tuple[str, str], int], log: Optional[EventLog] = None, parameters: Optional[Dict[Any, Any]] = None, activities_count: Optional[Dict[str, int]] = None, serv_time: Optional[Dict[str, float]] = None) Digraph[source]#

Visualize a frequency directly-follows graph

Parameters#

dfg

Frequency Directly-follows graph

log

(if provided) Event log for the calculation of statistics

activities_count

(if provided) Dictionary associating to each activity the number of occurrences in the log.

serv_time

(if provided) Dictionary associating to each activity the average service time

parameters

Variant-specific parameters

Returns#

gviz

Graphviz digraph

pm4py.visualization.dfg.variants.performance module#

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

class pm4py.visualization.dfg.variants.performance.Parameters(value)[source]#

Bases: Enum

An enumeration.

ACTIVITY_KEY = 'pm4py:param:activity_key'#
FORMAT = 'format'#
MAX_NO_EDGES_IN_DIAGRAM = 'maxNoOfEdgesInDiagram'#
START_ACTIVITIES = 'start_activities'#
END_ACTIVITIES = 'end_activities'#
TIMESTAMP_KEY = 'pm4py:param:timestamp_key'#
START_TIMESTAMP_KEY = 'pm4py:param:start_timestamp_key'#
FONT_SIZE = 'font_size'#
AGGREGATION_MEASURE = 'aggregation_measure'#
RANKDIR = 'rankdir'#
BGCOLOR = 'bgcolor'#
STAT_LOCALE = 'stat_locale'#
pm4py.visualization.dfg.variants.performance.apply(dfg: Dict[Tuple[str, str], int], log: Optional[EventLog] = None, parameters: Optional[Dict[Any, Any]] = None, activities_count: Optional[Dict[str, int]] = None, serv_time: Optional[Dict[str, float]] = None) Digraph[source]#

Visualize a performance directly-follows graph

Parameters#

dfg

Performance Directly-follows graph

log

(if provided) Event log for the calculation of statistics

activities_count

(if provided) Dictionary associating to each activity the number of occurrences in the log.

serv_time

(if provided) Dictionary associating to each activity the average service time

parameters

Variant-specific parameters

Returns#

gviz

Graphviz digraph

pm4py.visualization.dfg.variants.timeline module#