Next: Styles, Previous: Shadow Attributes, Up: Common Attributes [Contents]
These attributes can be used to change the appearance of text labels. They are basically alternatives to text formatting escapes, see Text Formatting. They do not apply to graphs: Graphviz labels can only be styled using text formatting escapes in a colon-label. Other languages have them.
text.identThis can be left, center or right and specifies
the line alignment of the label. The default is centering, except for non-empty
boxes in signalling charts, where the default is left. It can be abbreviated as simply ident.
text.colorSets the color of the label. See Specifying Colors for the syntax of colors.
text.bgcolorSets the background color of the label, none by default.
text.font.faceSpecify the font face family using this attribute, such as Arial or Helvetica. The fonts available depend on the platform. See Fonts.
text.font.typeSelect between normal or small font, superscript or subscript using the values
normal, small, superscript and subscript,
respectively.
text.boldtext.italictext.underlineYou can set them to yes or no.
text.gaptext.gap.uptext.gap.downtext.gap.lefttext.gap.righThese four attribues can be used to set the margins around the label in pixels.
If you set text.gap, it sets all four to the same value.
text.gap.spacingThis sets the line spacing in pixels.
text.size.normaltext.size.smallThese sets the height of the normal font type (see text.font.type above)
or the height of small, superscript and subscript, respectivel.
text.formatTakes a (quoted) string as its value. Here you can specify any of the text formatting escapes that will govern the style of the label, see Text Formatting. Specifying them here or directly at the beginning of the label has the same effect, so having this attribute is more useful for styles.
text.link_formatSimilar to the above, you can specify the formatting applied to links. See Links.
text.wrapUsed in signalling charts only.
Can be set to yes or no. If disabled (default), the label will follow
the line breaks inserted by the user. If enabled, these line breaks are ignored
and the line is typeset to fill available space, see Text Formatting.
Next: Styles, Previous: Shadow Attributes, Up: Common Attributes [Contents]