Skip to Content
Vue Flow v2 is here and joins xyflow! Read more here →
ReferenceTypes

SmoothStepPathOptions

Source on GitHub 

The SmoothStepPathOptions type is used to configure the path of smoothstep edges. You can pass it as pathOptions on an Edge of type smoothstep. The same options are accepted by getSmoothStepPath.

type SmoothStepPathOptions = { offset?: number; borderRadius?: number; stepPosition?: number; };

Fields

NameTypeDefault
offsetnumber
borderRadiusnumber
stepPositionnumber