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.