area

type: double, default: 1.0, minimum: >0

Indicates the preferred area for a node or empty cluster when laid out by patchwork.

Example: Australian Coins, area proportional to value
graph { layout="patchwork" node [style=filled] "5c" [area= 5 fillcolor=silver] "10c" [area= 10 fillcolor=silver] "20c" [area= 20 fillcolor=silver] "50c" [area= 50 fillcolor=silver] "$1" [area=100 fillcolor=gold] "$2" [area=200 fillcolor=gold] }
Valid on:
  • Clusters
  • Nodes
Note: patchwork only
Last modified June 16, 2021 : Add an editable example for area attr (285fc65)