Skip to main content

Home > @jsplumbtoolkit/browser-ui > DecorateParams

DecorateParams type

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