Skip to main content
LayoutParameters
Base interface for layout parameters. All layout parameter interfaces extend this.
NameTypeDescription
height?numberOptional fixed height for the layout.
locationFunction?LocationFunctionOptional function that, given some vertex, can provide the x/y location of the vertex on the canvas
padding?PointXYOptional padding to put around the elements.
width?numberOptional fixed width for the layout.