Skip to main content
Version: 4.3

SnaplinesAdditionalSnapPoints

type SnaplinesAdditionalSnapPoints = (params) => dia.Point[];

React-style additionalSnapPoints provider for Snaplines: return extra points the active element may snap to, on top of the default edge and center points. Receives SnaplinesAdditionalSnapPointsParams.

Parameters

ParameterType
paramsSnaplinesAdditionalSnapPointsParams

Returns

dia.Point[]

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub