Search results

FitOptionsModel API in Angular Diagram API component

Interface for a class FitOptions

Properties

canFit

boolean

Enables/Disables fit while render

canZoomIn

boolean

Enables/Disables zooming to fit the smaller content into larger viewport

customBounds

Rect

Defines the custom region that has to be fit into the viewport

margin

MarginModel

Defines the space to be left between the viewport and the content @default { left: 25, right: 25, top: 25, bottom: 25 }

mode

FitModes

Defines whether the diagram has to be horizontally/vertically fit into the viewport

region

DiagramRegions

Defines the region that has to be fit into the viewport