Search results

PageSettingsModel API in React Diagram API component

Interface for a class PageSettings

Properties

background

BackgroundModel

Defines the background color and image of diagram

boundaryConstraints

BoundaryConstraints

Defines the editable region of the diagram

  • Infinity - Allow the interactions to take place at the infinite height and width
  • Diagram - Allow the interactions to take place around the diagram height and width
  • Page - Allow the interactions to take place around the page height and width

fitOptions

FitOptionsModel

set the fit options

height

number

Sets the height of a diagram Page

margin

MarginModel

Sets the margin of a diagram page

multiplePage

boolean

Sets whether multiple pages can be created to fit all nodes and connectors

orientation

PageOrientation

Sets the orientation of the pages in a diagram

  • Landscape - Display with page Width is more than the page Height.
  • Portrait - Display with page Height is more than the page width.

showPageBreaks

boolean

Enables or disables the page break lines

width

number

Sets the width of a diagram Page