Skip to main content

DiagramComponentProps

Props for the DiagramComponent

Properties

className?

optional className: string

Optional class name to set on the container


data?

optional data: any

Optional initial data


modelOptions?

optional modelOptions: ModelOptions

Options for the underlying model


options?

optional options: DiagramOptions

Options for the Diagram


style?

optional style: Record<string, string>

Optional style object to apply to the container element.


url?

optional url: string

Optional URL to load initial data from.