pm4py.visualization.heuristics_net.visualizer module#
- class pm4py.visualization.heuristics_net.visualizer.Variants(*values)[source]#
Bases:
Enum- PYDOTPLUS = <module 'pm4py.visualization.heuristics_net.variants.pydotplus_vis' from '/Users/chris/Desktop/PIS/pm4py2/pm4py/pm4py/visualization/heuristics_net/variants/pydotplus_vis.py'>#
- pm4py.visualization.heuristics_net.visualizer.apply(heu_net: HeuristicsNet, parameters: Dict[Any, Any] | None = None, variant=Variants.PYDOTPLUS) str[source]#
Gets a representation of an Heuristics Net
- Parameters:
heu_net – Heuristics net
parameters –
- Possible parameters of the algorithm, including:
Parameters.FORMAT
variant –
- Variant of the algorithm to use:
Variants.PYDOTPLUS
- Returns:
Representation of the Heuristics Net
- Return type:
gviz
- pm4py.visualization.heuristics_net.visualizer.get_graph(heu_net: HeuristicsNet, parameters: Dict[Any, Any] | None = None, variant=Variants.PYDOTPLUS) Dot[source]#
Gets a representation of an Heuristics Net
- Parameters:
heu_net – Heuristics net
parameters –
- Possible parameters of the algorithm, including:
Parameters.FORMAT
variant –
- Variant of the algorithm to use:
Variants.PYDOTPLUS
- Returns:
Pydotplus graph
- Return type:
- pm4py.visualization.heuristics_net.visualizer.view(figure)[source]#
View on the screen a figure that has been rendered
- Parameters:
figure – figure
- pm4py.visualization.heuristics_net.visualizer.save(figure, output_file_path)[source]#
Save a figure that has been rendered
- Parameters:
figure – figure
output_file_path – Path where the figure should be saved