fontsize

type: double, default: 14.0, minimum: 1.0

Font size, in points, used for text.

digraph {
    label="40pt Graph Label"
    fontsize="40"
    subgraph cluster_a {
      label="30pt Cluster Label"
      fontsize="30pt"
      "20pt Node" [fontsize="20pt"];
      "20pt Node"-> "20pt Node" [label="10pt Edge" fontsize="10"]
    }
}
Valid on:
  • Clusters
  • Edges
  • Graphs
  • Nodes
Last modified August 9, 2021 : Expand on the fontsize example a bit (c78a070)