StencilDropParams
Arguments passed to StencilEventHandlers.onCellDrop after a clone lands on a valid drop target and is added to the main graph. Includes the drop point in paper-local coordinates.
Propertiesβ
dragPaperβ
readonly dragPaper: Paper;
The stencil's drag paper (still alive at drop time).
eventβ
readonly event: StencilEvent;
Pointer event at drop time.
graphβ
readonly graph: Graph;
Convenience alias for paper.model.
modelβ
readonly model: Element;
The dropped cell's model (now part of the main graph).
paperβ
readonly paper: Paper;
Main paper.
stencilβ
readonly stencil: StencilView;
Stencil instance.
xβ
readonly x: number;
Drop point x in paper-local coordinates.
yβ
readonly y: number;
Drop point y in paper-local coordinates.