Type alias DecorateParams
DecorateParams: { adapter: AbstractLayoutAdapter<BrowserElement>; appendElement: ((el,
pos,
alignment?) => void); bounds: Extents; fixElement: ((el,
pos,
constraints?,
id?) => FixedElement); floatElement: ((el,
pos) => void); layout: AbstractLayout<any>; positions: Map<string, PointXY>; setAbsolutePosition: ((el,
xy) => void); surface: Surface; toolkit: JsPlumbToolkit; } Type declaration
adapter: AbstractLayoutAdapter<BrowserElement>
appendElement: ((el, pos, alignment?) => void)
- (el, pos, alignment?): void
Parameters
- el: BrowserElement
- pos: PointXY
Optional
alignment: AppendedElementAlignments
Returns void
bounds: Extents
fixElement: ((el, pos, constraints?, id?) => FixedElement)
- (el, pos, constraints?, id?): FixedElement
Parameters
- el: BrowserElement
- pos: PointXY
Optional
constraints: FixedElementConstraintsOptional
id: string
Returns FixedElement
floatElement: ((el, pos) => void)
- (el, pos): void
Returns void
positions: Map<string, PointXY>
setAbsolutePosition: ((el, xy) => void)
- (el, xy): void
Returns void
Version :
Parameters for a decorator