@mocanvas/editor · interface

BaseBinding

interface BaseBinding<Type extends string, Props extends object>

A directed relationship between two shapes (e.g. an arrow end attached to a shape).


Properties · 7

fromId: ShapeId
readonly id: BindingId
meta: JsonObject
props: Props
toId: ShapeId
type: Type
readonly typeName: "binding"

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.