Skip to Content
React Flow 13 is here! Read the announcement →
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