pm4py.visualization.dfg.variants package#
PM4Py – A Process Mining Library for Python
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.
Website: https://processintelligence.solutions Contact: info@processintelligence.solutions
Submodules#
pm4py.visualization.dfg.variants.cost module#
PM4Py – A Process Mining Library for Python
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.
Website: https://processintelligence.solutions Contact: info@processintelligence.solutions
- class pm4py.visualization.dfg.variants.cost.Parameters(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
Enum
- 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: EventLog = None, parameters: Dict[Any, Any] | None = None, activities_count: Dict[str, int] = None, serv_time: 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#
PM4Py – A Process Mining Library for Python
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.
Website: https://processintelligence.solutions Contact: info@processintelligence.solutions
- class pm4py.visualization.dfg.variants.frequency.Parameters(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
Enum
- 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: EventLog = None, parameters: Dict[Any, Any] | None = None, activities_count: Dict[str, int] = None, serv_time: 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#
PM4Py – A Process Mining Library for Python
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.
Website: https://processintelligence.solutions Contact: info@processintelligence.solutions
- class pm4py.visualization.dfg.variants.performance.Parameters(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
Enum
- 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: EventLog = None, parameters: Dict[Any, Any] | None = None, activities_count: Dict[str, int] = None, serv_time: 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#
PM4Py – A Process Mining Library for Python
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.
Website: https://processintelligence.solutions Contact: info@processintelligence.solutions
- class pm4py.visualization.dfg.variants.timeline.Parameters(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
Enum
- 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'#
- BGCOLOR = 'bgcolor'#
- STAT_LOCALE = 'stat_locale'#