Question

I want to show Double quotes and Parentheses in nodes.

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top