Graphviz bold font attribute

前端 未结 2 708
南方客
南方客 2021-02-15 07:18

I would like to change font attribute as the example below

\"example\"

Is there any way to change the font

相关标签:
2条回答
  • 2021-02-15 07:24

    If you are really desperate, you could also copy&paste bold unicode strings into your graph description, i.e. using the following website:

    https://lingojam.com/BoldTextGenerator

    0 讨论(0)
  • 2021-02-15 07:44

    You may use HTML-like labels in graphviz and define labels with partially bold text:

    mynode [label=<<FONT FACE="boldfontname">bold text</FONT>>]
    

    Or use the <B> tag:

    mynode [label=< <B>bold text</B> regular text >]
    
    0 讨论(0)
提交回复
热议问题