pub struct Diagram {
pub base: IdentifiedObject,
pub diagram_style: Option<MridRef>,
pub orientation: Option<UriRef>,
pub x1initial_view: Option<f64>,
pub x2initial_view: Option<f64>,
pub y1initial_view: Option<f64>,
pub y2initial_view: Option<f64>,
}Expand 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.
Fields§
§base: IdentifiedObject§diagram_style: Option<MridRef>A Diagram may have a DiagramStyle.
orientation: Option<UriRef>Coordinate 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.
x1initial_view: Option<f64>X coordinate of the first corner of the initial view.
x2initial_view: Option<f64>X coordinate of the second corner of the initial view.
y1initial_view: Option<f64>Y coordinate of the first corner of the initial view.
y2initial_view: Option<f64>Y coordinate of the second corner of the initial view.