Skip to main content

Home > @jsplumbtoolkit/core > AbsoluteBackedLayout

AbsoluteBackedLayout class#

Signature:

export declare abstract class AbsoluteBackedLayout<P extends AbsoluteBackedLayoutParameters> extends AbstractLayout<P> 

Extends: AbstractLayout<P>

Constructors#

ConstructorModifiersDescription
(constructor)(params)Constructs a new instance of the AbsoluteBackedLayout class

Properties#

PropertyModifiersTypeDescription
absoluteBackedboolean
defaultMagnetizedboolean

Methods#

MethodModifiersDescription
_vertexAdded(params, eventInfo)
begin(toolkit, parameters)
canMagnetize(id)
end(toolkit, parameters)
getAbsolutePosition(v, parameters)Gets the position for the given Node/Group as dictated by either the left/top properties, or some other nominated pair, in the Node/Group's data. This position is what the Absolute layout uses itself, and this method exposes the absolute position for subclasses that wish to make use of the absolute backing.
reset()
step(toolkit, parameters)