pm4py.visualization.dfg.variants.timeline module#

PM4Py – A Process Mining Library for Python Copyright (C) 2026 Process Intelligence Solutions GmbH

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(*values)[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'#
pm4py.visualization.dfg.variants.timeline.get_min_max_value(dfg)[source]#
pm4py.visualization.dfg.variants.timeline.assign_penwidth_edges(dfg)[source]#
pm4py.visualization.dfg.variants.timeline.get_activities_color(activities_count)[source]#
pm4py.visualization.dfg.variants.timeline.graphviz_visualization(activities_count, dfg, dfg_time: Dict, image_format='png', measure='timeline', max_no_of_edges_in_diagram=100000, start_activities=None, end_activities=None, soj_time=None, font_size='12', bgcolor='white', stat_locale=None)[source]#
pm4py.visualization.dfg.variants.timeline.apply(dfg: Dict[Tuple[str, str], int], dfg_time: Dict, log: EventLog = None, parameters: Dict[Any, Any] | None = None, activities_count: Dict[str, int] = None, soj_time: Dict[str, float] = None) → Digraph[source]#