Skip to content

text_annotation

Representation of a Text Annotation.

CLASS DESCRIPTION
TextAnnotation

Text Annotations are a mechanism for a modeler to provide additional information for the reader of a Diagram.

Classes

TextAnnotation dataclass

TextAnnotation(
    *,
    id: Optional[str] = None,
    documentation: list[Documentation] = list(),
    extension_elements: Optional[ExtensionElements] = None,
    text: Optional[str] = None,
    text_format: str = "text/plain"
)

Bases: Artifact

Text Annotations are a mechanism for a modeler to provide additional information for the reader of a Diagram.

Functions