I am calling Graphviz from Java application using the Graphviz.java API and save the output graph to PDF file. I need to label some nodes with math subscripts and accents (for example $a_1$
or $\hat{a}$
in latex). I can survive with subscripts only.
is there anyway to do it? is this because of the API i'm using or I am missing something here.
I have tried b [label=<x<SUB>1</SUB>>];
but it doesn't work (though symbols like a [ label=<α>];
work and show up in the output file).