Skip to main content
Version: 4.3

ElementPortShape

type ElementPortShape = LiteralUnion<"ellipse" | "rect">;

Shape of a port's body.

  • 'ellipse' renders an ellipse.
  • 'rect' renders a rectangle.
  • Any other string is used directly as the SVG path d attribute.