user414585
user414585

Reputation: 775

dot graph without labels

I have a graph file to draw using "dot". I don't want to show any label for any node. I am wondering how to do this without specifying a configuration for each node since there are too many nodes in the graph.

Upvotes: 17

Views: 11544

Answers (1)

marapet
marapet

Reputation: 56446

Try inserting the following line before all node declarations:

node[label=""];

Of course, nodes which have their label property defined will still have their label displayed.

Also, if I remember correctly, at least one node shapes does not use the label:

node[shape=point]

Upvotes: 28

Related Questions