Skip to content

diagram

Model definitions for Diagram.

CLASS DESCRIPTION
Diagram

A diagram is a container for a graph of diagram elements that depicts all or part of a model.

Classes

Diagram dataclass

Diagram(
    *,
    name: Optional[str] = None,
    documentation: Optional[str] = None,
    resolution: Optional[float] = None,
    id: Optional[str] = None
)

A diagram is a container for a graph of diagram elements that depicts all or part of a model.

ATTRIBUTE DESCRIPTION
documentation

The documentation of the diagram.

TYPE: Optional[str]

id

The unique identifier of the diagram.

TYPE: Optional[str]

name

The name of the diagram.

TYPE: Optional[str]

resolution

The printing resolution of the diagram is expressed in Units Per Inch (UPI).

TYPE: Optional[float]

Attributes

documentation class-attribute instance-attribute
documentation: Optional[str] = field(
    default=None, metadata={"type": "Attribute"}
)

The documentation of the diagram.

id class-attribute instance-attribute
id: Optional[str] = field(default=None, metadata={'type': 'Attribute'})

The unique identifier of the diagram.

name class-attribute instance-attribute
name: Optional[str] = field(default=None, metadata={'type': 'Attribute'})

The name of the diagram.

resolution class-attribute instance-attribute
resolution: Optional[float] = field(
    default=None, metadata={"type": "Attribute"}
)

The printing resolution of the diagram is expressed in Units Per Inch (UPI).

Functions