Interface for a class FitOptions
boolean
Enables/Disables fit while render
boolean
Enables/Disables zooming to fit the smaller content into larger viewport
Defines the custom region that has to be fit into the viewport
Defines the space to be left between the viewport and the content @default { left: 25, right: 25, top: 25, bottom: 25 }
string
Defines whether the diagram has to be horizontally/vertically fit into the viewport
string
Defines the region that has to be fit into the viewport