Skip to main content

Home > @jsplumbtoolkit/core > EmptyLayout

EmptyLayout class

A layout that has no opinions whatsoever about where nodes should be placed. Everything is placed at [0,0] and assumed to have a width and height of 0. This layout is a placeholder.

Signature:

export declare class EmptyLayout extends AbstractLayout<LayoutParameters> 

Extends: AbstractLayout<LayoutParameters>

Constructors

ConstructorModifiersDescription
(constructor)(options)Constructs a new instance of the EmptyLayout class

Properties

PropertyModifiersTypeDescription
defaultMagnetizedboolean
typestring
typestaticstring

Methods

MethodModifiersDescription
_getExtents()
begin(toolkit, parameters)
canMagnetize(id)
end(toolkit, parameters, wasMagnetized)
getDefaultParameters()
getPosition(id)
getPositions()
getSize(id)
getSizes()
layout()
refresh()
relayout()
reset()
setPosition(id, x, y)
step(toolkit, parameters)