It is possible to switch the text colors or text style within text output, e.g. within edge labels or node info fields. This is controlled by special characters in the strings. The following control characters are allowed:
\n (ASCII code 10)\t (ASCII code 9)\a (ASCII code 7)\b (ASCII code 8)
The
formfeed \f (ASCII code 12) is used in combination with
an additional parameter to change the current form of output:
\fu (ASCII codes 12 117)
starts underlining\fI (ASCII codes 12 73)
starts italics typeface\fb (ASCII codes 12 98)
starts bold typeface\fB (ASCII codes 12 66)
starts very bold typeface\fn (ASCII codes 12 110)
returns to normal typeface, i.e. stops underlining, italics and bold typefaces\f- (ASCII codes 12 45)
draws a horizontal line within a node\fi035 prints the ISO character 35 (the hash #),
\fi037 prints the ISO character 37 (the ampersand &),
etc.\f00 sets the color to white,
\f31 sets the color to black,
etc.Please note that the ASCII values of the control characters depend on the operating system and C compiler.