shape

type: shape, default: ellipse

Sets the shape of a node.

digraph {
    "pentagon" [shape="pentagon"];
    "hexagon" [shape="hexagon"];
}
Valid on:
  • Nodes
Last modified August 9, 2021 : Add example for shape (4a2219d)