Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Graphviz Double quotes and Parentheses in nodes

I want to show Double quotes and Parentheses in nodes.

Without using A[label="Rahul(A)"]. I want to show during Rahul(A) -> B

like image 753
vikas27 Avatar asked Oct 12 '11 15:10

vikas27


1 Answers

The only way I know to do that (without label) is by enclosing the node name between double quotes, and escaping double quotes which are part of the node name:

This works:

"Rahul(A)" -> "Rahul \"B\"";

graphviz output

like image 50
marapet Avatar answered Sep 19 '22 22:09

marapet