Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add a dashed underlined label on Graphviz?

I would like to have a dashed underlined label on Graphviz, like the image bellow:

enter image description here

like image 390
user5507535 Avatar asked Jan 01 '18 14:01

user5507535


1 Answers

A non-automatic solution is to write underlines manually:

partial_key_attribute [label = <<u>P</u>A<u>R</u>T<u>I</u>A<u>L</u> <u>K</u>E<u>Y</u><br/><u>A</u>T<u>T</u>R<u>I</u>B<u>U</u>T<u>E</u>>];

Although ugly, at least this works with most kinds of use cases, although some preprocessing might be needed to make this more convenient.

like image 73
SOFe Avatar answered Oct 31 '22 05:10

SOFe