vikas27
vikas27

Reputation: 573

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

Upvotes: 6

Views: 4812

Answers (1)

marapet
marapet

Reputation: 56446

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

Upvotes: 12

Related Questions