Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dot: dash in name

Tags:

graphviz

dot

Is it possible to have a dash in the node name? I tried escaping with backslash (searching the web didn't helped either). Example:

digraph test {     some-name -> other-name; } 
like image 731
Dag Avatar asked Feb 19 '13 13:02

Dag


People also ask

What does Dotdash mean?

1 : formed of or as if of alternating dots and dashes run a dot-and-dash line across the sheet. 2 : consisting of or using an alphabet made up of dots and dashes as signals for communicating secret conversations by means of long and short muscular movements in the Morse dot-and-dash system. dot-and-dash.


1 Answers

Just include the node names in double quotes like this:

digraph test {     "some-name" -> "other-name"; } 
like image 154
tuxtimo Avatar answered Oct 06 '22 00:10

tuxtimo