shape

Sets the shape of a node

type: shape, default: ellipse

digraph {
    "pentagon" [shape="pentagon"];
    "hexagon" [shape="hexagon"];
}
Valid on:
  • Nodes

Search the Graphviz codebase for "shape"

Last modified June 18, 2022: attributes descriptions with links (25b13ac)