pm4py.vis#
The pm4py.vis module contains the visualizations offered in pm4py.
Note on Graphviz-based visualizations (e.g., Petri nets, DFGs, BPMN, process trees):
Supported output formats include:
png: Generates a PNG image.
svg: Generates an SVG image, which can be scaled without loss of quality.
pdf: Generates a PDF file, suitable for printing and embedding in documents.
gv: Returns or saves the Dot source code of the Graphviz graph.
html: When ‘html’ is provided as the format, the visualization is rendered in an HTML page using GraphvizJS. This allows interactive viewing of the graph directly in a web browser.
If html is used, an HTML file containing the GraphvizJS-based rendering is produced, enabling panning, zooming, and other interactive features.
In general, for Graphviz-based visualizations, if you provide a format extension, the visualization will be generated accordingly. For example: - format=’png’ will produce a PNG file. - format=’svg’ will produce an SVG file. - format=’pdf’ will produce a PDF file. - format=’gv’ will return/save the raw Dot code. - format=’html’ will produce an interactive HTML visualization using GraphvizJS.
Functions
|
Saves an alignment table's figure on disk. |
|
Saves the visualization of a BPMN graph. |
|
Saves the case duration graph to the specified path. |
|
Saves a DFG visualization to a file. |
|
Saves the visualization of the dotted chart. |
|
Saves the distribution of the events in a picture file. |
|
Saves the events per time graph to the specified path. |
|
Saves the footprints' visualization on disk. |
|
Saves the visualization of a heuristics net. |
|
Saves the visualization of the network analysis. |
|
Saves the visualization of an object graph. |
|
Saves the visualization of an OC-DFG. |
|
Saves the visualization of the object-centric Petri net into a file. |
|
Saves the visualization of a performance DFG. |
|
Saves the visualization of the performance spectrum to a file. |
|
Saves a Petri net visualization to a file. |
|
Saves the visualization of a POWL model. |
|
Persists the visualization of a prefix tree. |
|
Saves the visualization of a process tree. |
|
Saves the visualization of a SNA metric in a .html file. |
|
Persists the visualization of a transition system. |
|
Views the alignment table as a figure. |
|
Views a BPMN graph. |
|
Visualizes the case duration graph. |
|
Views a (composite) DFG. |
|
Displays the dotted chart. |
|
Shows the distribution of the events in the specified dimension. |
|
Visualizes the events per time graph. |
|
Views the footprints as a figure. |
|
Views a heuristics net. |
|
Visualizes the network analysis. |
|
Visualizes an object graph on the screen. |
|
Views an OC-DFG (object-centric directly-follows graph). |
|
Visualizes the object-centric Petri net. |
|
Views a performance DFG. |
|
Displays the performance spectrum. |
|
Views a (composite) Petri net. |
|
Performs a visualization of a POWL model. |
|
Views a prefix tree. |
|
Views a process tree. |
|
Represents a SNA metric (.html). |
|
Views a transition system. |