Type Alias DecorateParams

DecorateParams: {
    adapter: AbstractLayoutAdapter<BrowserElement>;
    appendElement: ((el: BrowserElement, pos: PointXY, alignment?: AppendedElementAlignments) => void);
    bounds: Extents;
    fixElement: ((el: BrowserElement, pos: PointXY, constraints?: FixedElementConstraints, id?: string) => FixedElement);
    floatElement: ((el: BrowserElement, pos: PointXY) => void);
    layout: AbstractLayout<any>;
    positions: Map<string, PointXY>;
    setAbsolutePosition: ((el: BrowserElement, xy: PointXY) => void);
    surface: Surface;
    toolkit: JsPlumbToolkit;
}

Parameters for a decorator

Version :