style

Set style information for components of the graph

type: style, default: ""

For cluster subgraphs, if style="filled", the cluster box's background is filled.

If the default style attribute has been set for a component, an individual component can use style="" to revert to the normal default. For example, if the graph has

digraph {
  edge [style="invis"]
  a -> b
}

making all edges invisible, the b->c edge can override this via:

digraph {
  edge [style="invis"]
  a -> b
  b -> c [style=""]
}

Of course, the component can also explicitly set its style attribute to the desired value.

Valid on:
  • Edges
  • Nodes
  • Clusters
  • Graphs

Search the Graphviz codebase for "style"

Last modified April 3, 2024: Fix typos (efa0cae)