<p>The bbox element describes a rectangle. This rectangle is defined by: <ul> <li>PointAttributes corresponding to the 2D coordinates of the top left corner,</li> <li>width and height attributes.</li> </ul> </p> <p>The rectangle corresponds to the outer bounding box of a shape. The shape itself can be irregular (for instance in the case of some compartments).</p> <p>In the case of process nodes, the bounding box only concerns the central glyph (square, or circle), the input/output ports are not included, and neither are the lines connecting them to the central glyph.</p> <p>A bbox is required for all glyphs, and is optional for labels.</p> |
<xsd:element name="bbox"> <xsd:annotation> <xsd:documentation> <p>The bbox element describes a rectangle. This rectangle is defined by: <ul> <li>PointAttributes corresponding to the 2D coordinates of the top left corner,</li> <li>width and height attributes.</li> </ul> </p> <p>The rectangle corresponds to the outer bounding box of a shape. The shape itself can be irregular (for instance in the case of some compartments).</p> <p>In the case of process nodes, the bounding box only concerns the central glyph (square, or circle), the input/output ports are not included, and neither are the lines connecting them to the central glyph.</p> <p>A bbox is required for all glyphs, and is optional for labels.</p> </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:complexContent> <xsd:extension base="SBGNBase"> <xsd:attributeGroup ref="sbgn:PointAttributes"/> <xsd:attribute name="w" type="xsd:float" use="required"/> <xsd:attribute name="h" type="xsd:float" use="required"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:element> |