Skip to content

pivotick v3.0.0


pivotick / RendererOptions / CustomNodeShape

Interface: CustomNodeShape ​

Defined in: interfaces/RendererOptions.ts:350

Represents a node with a custom SVG path. The d property corresponds directly to the d attribute of an SVG <path> element, allowing fully custom shapes.

Example ​

ts
{
  d: "M 0 -10 L 10 10 L -10 10 Z"
}

Properties ​

d ​

d: string

Defined in: interfaces/RendererOptions.ts:351