문제

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

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top