tooltip

type: escString, default: ""

Tooltip (mouse hover text) attached to the node, edge, cluster, or graph.

If tooltip is unset, Graphviz will use the object’s label if defined.

Note that if the label is a record specification or an HTML-like label, the resulting tooltip may be unhelpful. In this case, if tooltips will be generated, the user should set a tooltip attribute explicitly.

Tooltips
digraph {
  label="Graph Label"
  tooltip="Graph Tooltip"
  subgraph cluster_a {
    label="Cluster Label"
    tooltip="Cluster Tooltip"
    Node1 [tooltip="Node1 Tooltip"]
    Node1 -> Node2 [label="Edge" tooltip="Edge Tooltip"]
  }
}

See also:

Valid on:
  • Clusters
  • Edges
  • Graphs
  • Nodes
Note: cmap, svg only
Last modified July 2, 2021 : Add tooltip 'see also' (549beb7)