ConnectionLineType
透過 connectionLineType
屬性,您可以在 <SvelteFlow />
元件上設定連線線的類型。Svelte Flow 內建支援以下類型:「default」(貝茲曲線)、「straight」(直線)、「step」(階梯式)、「smoothstep」(平滑階梯式) 和「simplebezier」(簡化貝茲曲線)。
export enum ConnectionLineType {
Bezier = 'default',
Straight = 'straight',
Step = 'step',
SmoothStep = 'smoothstep',
SimpleBezier = 'simplebezier',
}