Previous: , Up: Specifying Entities   [Contents]


9.2.6 Entity Shapes

The shape of an entity heading can be altered from the default box-like appearance to something custom using the shape attribute. Its value is a string, the name of the shape. The actual appearance of shapes is defined in separate files. Msc-generator comes with a few default shapes (their name all start with def.), but you can define your own shapes or add third-party Defining Shapes. See Defining Shapes for more.

For some shapes, the label of the entity is written inside the shape, for some it is written below. This is decided by the author of the shape. If the label is written inside, it is scaled to fit. You can influence the size of the shape via the shape.size attribute, which takes the values tiny, small, normal, big, huge or auto with small as default.

Note that the above two attributes can be set in the entity and the entitygroup_collapsed style, which will influence all entities in a chart at once.