pm4py.vis.save_vis_dcr#
- pm4py.vis.save_vis_dcr(dcr: DcrGraph, file_path: str, bgcolor: str = 'white', rankdir: str = 'LR', **kwargs)[source]#
Saves the visualization of a DCR graph
- Parameters:
dcr_graph – DCR graph
file_path (
str
) – output path for where DCR graph should be savedbgcolor (
str
) – Background color of the visualization (default: white)rankdir (
str
) – sets the direction of the graph (“LR” for left-to-right; “TB” for top-to-bottom)
import pm4py dcr = pm4py.discover_dcr(dataframe) pm4py.save_vis_dcr(dcr, format='svg')