distortion

type: double, default: 0.0, minimum: -100.0

Distortion factor for shape=polygon.

Positive values cause top part to be larger than bottom; negative values do the opposite.

See also skew.

Example
graph { LargeBottom [shape=polygon sides=4 distortion=-.5] LargeTop [shape=polygon sides=4 distortion=.5] }
Valid on:
  • Nodes
Last modified June 19, 2021 : Add more attribute examples (97c5c5b)