Skip to main content

LayoutParameters

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

Extends​

  • Record<string, any>

Extended by​

Properties​

height?​

optional height: number

Optional fixed height for the layout.


locationFunction?​

optional locationFunction: LocationFunction

Optional function that, given some vertex, can provide the x/y location of the vertex on the canvas


padding?​

optional padding: PointXY

Optional padding to put around the elements.


width?​

optional width: number

Optional fixed width for the layout.