pm4py.vis.view_dcr#

pm4py.vis.view_dcr(dcr: DcrGraph, format: str = 'png', bgcolor: str = 'white', rankdir: str = 'LR')[source]#

Views a DCR graph

Parameters:
  • dcr_graph – DCR graph

  • format (str) – format of the visualization (default: png)

  • bgcolor (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.view_dcr(dcr, format='svg')