Aller au contenu

pivotick v3.0.0


pivotick / RendererOptions / CustomNodeShape

Interface: CustomNodeShape ​

Défini dans : interfaces/RendererOptions.ts:350

Représente un nœud avec un chemin SVG personnalisé. La propriété d correspond directement à l'attribut d d'un élément SVG <path>, permettant des formes entièrement personnalisées.

Exemple ​

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

Propriétés ​

d ​

d: string

Défini dans : interfaces/RendererOptions.ts:351