How to add a dashed underlined label on Graphviz?
Asked Answered
G

2

5

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

enter image description here

Gadget answered 1/1, 2018 at 14:7 Comment(0)
G
4

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.

Gen answered 16/9, 2019 at 3:57 Comment(0)
G
2

An answer would be to use Unicode: https://en.wikipedia.org/wiki/Macron_below but it wouldn't work with all fonts and is super bad for users to type and looks ugly too.

Gadget answered 3/1, 2018 at 22:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.