Question

I wonder if it is possible to use different font sizes in the same label. If so, could any provide me with example?

Était-ce utile?

La solution

Yes this is possible using HTML-Like labels.

Here's a simple example:

digraph g{
    a[label=<
        <FONT POINT-SIZE="20">Bigger</FONT>
         and 
        <FONT POINT-SIZE="10">Smaller</FONT>
    >];
}

Output:

graphviz label with different fontsizes

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top