pm4py.objects.bpmn.layout package

Submodules

pm4py.objects.bpmn.layout.layouter module

class pm4py.objects.bpmn.layout.layouter.Variants(value)[source]

Bases: enum.Enum

An enumeration.

PYGRAPHVIZ = <module 'pm4py.objects.bpmn.layout.variants.pygraphviz' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\objects\\bpmn\\layout\\variants\\pygraphviz.py'>
pm4py.objects.bpmn.layout.layouter.apply(bpmn_graph, variant=<Variants.PYGRAPHVIZ: <module 'pm4py.objects.bpmn.layout.variants.pygraphviz' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\objects\\bpmn\\layout\\variants\\pygraphviz.py'>>, 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.PYGRAPHVIZ

  • parameters – Parameters of the algorithm

Returns

BPMN graph with layout information

Return type

bpmn_graph

Module contents