Home > @jsplumbtoolkit/browser-ui > DecorateParams
DecorateParams type
Parameters for a decorator
Signature:
export declare type DecorateParams = {
surface: Surface;
adapter: AbstractLayoutAdapter<Element>;
layout: AbstractLayout<any>;
append: (el: Element, id: string, pos: PointXY) => void;
setAbsolutePosition: (el: Element, xy: PointXY) => void;
toolkit: JsPlumbToolkit;
bounds: Extents;
positions: Map<string, PointXY>;
};
References: Surface, AbstractLayout, PointXY, JsPlumbToolkit