Skip to main content

Home > @jsplumbtoolkit/core > LayoutParameters

LayoutParameters interface

Base interface for layout parameters. All layout parameter interfaces extend this.


export interface LayoutParameters extends Record<string, any> 

Extends: Record<string, any>


height?number(Optional) Optional fixed height for the layout.
locationFunction?LocationFunction(Optional) Optional function that, given some vertex, can provide the x/y location of the vertex on the canvas
padding?PointXY(Optional) Optional padding to put around the elements.
width?number(Optional) Optional fixed width for the layout.