Skip to main content

Diagram

Class Description

The diagram being exchanged. The coordinate system is a standard Cartesian coordinate system and the orientation attribute defines the orientation. The initial view related attributes can be used to specify an initial view with the x,y coordinates of the diagonal points.

Attributes

NameTypeDescription
orientationOrientationKindCoordinate system orientation of the diagram. A positive orientation gives standard “right-hand” orientation, with negative orientation indicating a “left-hand” orientation. For 2D diagrams, a positive orientation will result in X values increasing from left to right and Y values increasing from bottom to top. A negative orientation gives the “left-hand” orientation (favoured by computer graphics displays) with X values increasing from left to right and Y values increasing from top to bottom.
x1InitialViewFloatX coordinate of the first corner of the initial view.
x2InitialViewFloatX coordinate of the second corner of the initial view.
y1InitialViewFloatY coordinate of the first corner of the initial view.
y2InitialViewFloatY coordinate of the second corner of the initial view.

Relationships

Ancestors

Descendents

No descendent classes

Associations

Source ClassSource CardinalityTargetTarget CardinalitySource NameSource Assoc. DescriptionTarget NameTarget Assoc. Description
Diagram0..1DiagramObject0..*DiagramA diagram object is part of a diagram.DiagramElementsA diagram is made up of multiple diagram objects.
Diagram0..*DiagramStyle0..1DiagramA DiagramStyle can be used by many Diagrams.DiagramStyleA Diagram may have a DiagramStyle.