pm4py.objects.bpmn.layout.variants package

Submodules

pm4py.objects.bpmn.layout.variants.pygraphviz module

class pm4py.objects.bpmn.layout.variants.pygraphviz.EndpointDirection(value)[source]

Bases: enum.Enum

An enumeration.

BOTTOM = 'bottom'
LEFT = 'left'
RIGHT = 'right'
TOP = 'top'
class pm4py.objects.bpmn.layout.variants.pygraphviz.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

FOCUS = 'focus'
SCALING_FACT_X = 'scaling_fact_x'
SCALING_FACT_Y = 'scaling_fact_y'
TASK_WH = 'task_wh'
pm4py.objects.bpmn.layout.variants.pygraphviz.apply(bpmn_graph, parameters=None)[source]

Layouts a BPMN graph (inserting the positions of the nodes and the layouting of the edges)

Parameters
  • bpmn_graph – BPMN graph

  • parameters – Parameters of the algorithm

Returns

BPMN graph with layout information

Return type

bpmn_graph

pm4py.objects.bpmn.layout.variants.pygraphviz.get_bottom_edge_coord(node, p, partial_counter, total_counter)[source]
pm4py.objects.bpmn.layout.variants.pygraphviz.get_left_edge_coord(node, p, partial_counter, total_counter)[source]
pm4py.objects.bpmn.layout.variants.pygraphviz.get_right_edge_coord(node, p, partial_counter, total_counter)[source]
pm4py.objects.bpmn.layout.variants.pygraphviz.get_top_edge_coord(node, p, partial_counter, total_counter)[source]

Module contents