change class name in svg

Hi,
I m getting svg output from dot.

in default generate svg file for node has class="node" .

is there any way to change this class value, i want different value for different node in a graph.

Thanks,
Aamir

Normally, the class value

Normally, the class value remains fixed for similar types of svg objects, but the id attribute is used to identify individuals. For this reason, the svg renderer generates a unique id for each node. You can control this value by setting a node's id attribute. See http://www.graphviz.org/content/attrs#did for more details.

Recent comments