regular

If true, force polygon to be regular, i.e., the vertices of th

type: bool, default: false

polygon will lie on a circle whose center is the center of the node.

digraph {
    "pentagon1" [shape="pentagon"];
    "pentagon2" [shape="pentagon" regular=true]
    "hexagon1" [shape="hexagon"];
    "hexagon2" [shape="hexagon" regular=true];
}
Valid on:
  • Nodes

Search the Graphviz codebase for "regular"