subscript in DOT/graphviz edge labels

2019-03-24 04:42发布

问题:

How do you use Graphviz/DOT's HTML features to add a subscript character to an edge label?

回答1:

Like this:

digraph g {
  1 -> 2 [label=<Regular<SUB>subscript</SUB>>];
}


标签: graphviz dot