Previous: Common Attributes, Up: Common Attributes [Contents]
Styles are packages of attribute definitions with a name. Applying a style
to any element can be easily done by simply stating the name of the style
whereever an attribute is allowed. See in the example below, how the
strong
and weak
styles are applied to entities.
![]() | ![]() |
For signalling charts styles can contain any of the attributes listed in
Signalling Chart Attributes and Styles. For graphs any graphviz attribute can be
part of a style. For block diagrams, the applicable attributes are listed in
Block Attributes and Arrows in Block Diagrams.
If a style contains an attribute not applicable for the element that you apply the style to,
that attribute is simply ignored. For example, applying a style with
fill.color=red
attribute setting to an arrow, will ignore this attribute
since arrows take no fill attributes.
You can define your own styles or redefine existing ones. See Defining Styles for more on this.