@mocanvas/mocanvas · constant

arrowShapeMigrations

declare const arrowShapeMigrations: PropsMigrations

The arrow shape's props migrations.

Elbow routing arrived after the arrow did, so an arrow saved before it has neither kind nor elbowMidPoint. "arc" is the routing every such arrow was drawn with, and 0.5 puts a middle leg exactly halfway — where an elbow arrow is created — so an old arrow switched to elbow routing by hand looks like a new one.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.