Skip to content

bpmndiagram

Model definitions for BPMNDiagram.

CLASS DESCRIPTION
BPMNDiagram

A BPMNDiagram is a diagram that depicts all or part of a BPMN model.

Classes

BPMNDiagram dataclass

BPMNDiagram(
    *,
    name: Optional[str] = None,
    documentation: Optional[str] = None,
    resolution: Optional[float] = None,
    id: Optional[str] = None,
    plane: BPMNPlane,
    label_styles: list[BPMNLabelStyle] = list()
)

Bases: Diagram

A BPMNDiagram is a diagram that depicts all or part of a BPMN model.

ATTRIBUTE DESCRIPTION
label_styles

A collection of BPMN label styles that are owned by the diagram and referenced by label elements.

TYPE: list[BPMNLabelStyle]

plane

A BPMN plane element that is the container of all diagram elements in this diagram.

TYPE: BPMNPlane

Attributes

label_styles class-attribute instance-attribute
label_styles: list[BPMNLabelStyle] = field(
    default_factory=list, metadata={"name": "BPMNLabelStyle", "type": "Element"}
)

A collection of BPMN label styles that are owned by the diagram and referenced by label elements.

plane class-attribute instance-attribute
plane: BPMNPlane = field(
    metadata={"name": "BPMNPlane", "type": "Element", "required": True}
)

A BPMN plane element that is the container of all diagram elements in this diagram.

Functions