Spec-Zone.ru › Graphviz

distortion

Distortion factor for shape=polygon

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

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]
}
Edit in Playground
Valid on:
  • Nodes

© 2025 The Graphviz Authors
Licensed under the Eclipse Public License 1.0.
https://www.graphviz.org/docs/attrs/distortion/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API