type: string, default: ""
Combine with stylesheet for styling SVG output using CSS classnames.
Multiple space-separated classes are supported.
See also:
Example:
digraph G {
graph [class="cats"];
subgraph cluster_big {
graph [class="big_cats"];
"Lion" [class="yellow social"];
"Snow Leopard" [class="white solitary"];
}
}
Note: svg only.
© 2025 The Graphviz Authors
Licensed under the Eclipse Public License 1.0.
https://www.graphviz.org/docs/attrs/class/