Border Shapes Values XML File

Purpose

The border shapes values XML file is used to define the shapes of components. The valid values for a border shape can be box, round, hexagon, box-clipRT, box-clipRB, box-clipLT, box-clipLB, and box-clipAll, or a reference (#xxxx) to a symbol specified in a Shapes XML file.

The following figure shows the various predefined shapes:


For information about how to define new values for border shapes, see Customizing the System Model Presentation.

Syntax

The Border Shapes files use the common syntax for all Values XML files. However, border shapes can only apply to components, so it is an error to set rank to anything other than * or component.

Example

<?xml version="1.0"?>
<values default="box" label="Sched 12 Category">
<item label="Optional Symbian" value="box-clipLT">
<m ref="cryptolib"/>
</item>
<item label="Common Symbian" value="box-clipLB">
<m ref="sdcarddrv"/>
<m ref="cldchi1_1"/>
</item>
<item label="Common Replace&#xad;able" value="#symbol-for-CR">
<m ref="ethernetdrv"/>
</item>
<item label="Optional Replace&#xad;able" value="box-clipRT">
<m ref="omap1623"/>
<m ref="bootstrap"/>
<m ref="wma1_1"/>
</item>
</values>

The following figure shows the generated legend for the preceding border shapes values XML: