@mocanvas/mocanvas · function
declare function getElbowArrowInfo(A: ElbowArrowTargetBox, B: ElbowArrowTargetBox, options?: ElbowArrowOptions, routeOptions?: Pick<ElbowRouteOptions, "midPoint">): ElbowArrowInfoRoute an elbow arrow between two ends, and report everything the routing was derived from.
The route itself still comes from getElbowRoute: this adds the side picking (which edge of each box the arrow leaves and enters) and the gaps that decide where a middle leg may sit.
Mentioned here
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.