@mocanvas/mocanvas · interface

ElbowArrowOptions

interface ElbowArrowOptions

How much room an elbow arrow gives itself.


Properties · 4

cornerRadius: number

Corner fillet radius, before the per-corner clamp roundElbowCorners applies.

expandDistance: number

How far outside a bound shape a leg parallel to it runs.

minArrowDistanceFromCorner: number

How close to a corner an arrow may attach, as a fraction of the side's length, 0..0.5.

minElbowLegLength: number

The shortest leg the router will emit; shorter ones are absorbed into their neighbours.

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.