pm4py.objects.bpmn.layout.layouter module#
- class pm4py.objects.bpmn.layout.layouter.Variants(*values)[source]#
Bases:
Enum- GRAPHVIZ = <module 'pm4py.objects.bpmn.layout.variants.graphviz' from '/Users/chris/Desktop/PIS/pm4py2/pm4py/pm4py/objects/bpmn/layout/variants/graphviz.py'>#
- GRAPHVIZ_NEW = <module 'pm4py.objects.bpmn.layout.variants.graphviz_new' from '/Users/chris/Desktop/PIS/pm4py2/pm4py/pm4py/objects/bpmn/layout/variants/graphviz_new.py'>#
- pm4py.objects.bpmn.layout.layouter.apply(bpmn_graph, variant=Variants.GRAPHVIZ_NEW, parameters=None)[source]#
Layouts a BPMN graph (inserting the positions of the nodes and the layouting of the edges)
- Parameters:
bpmn_graph – BPMN graph
variant – Variant of the algorithm to use, possible values: - Variants.GRAPHVIZ
parameters – Parameters of the algorithm
- Returns:
BPMN graph with layout information
- Return type:
bpmn_graph