Skip to main content

DiagramComponentProps

Extends

  • DOMAttributes<HTMLDivElement>

Properties

className?

optional className: string

Optional class name to set on the diagram component's container


data?

optional data: any

Optional data to load after the component has been mounted.


modelOptions?

optional modelOptions: ModelOptions

Options for the model used by the diagram. Only required for certain advanced use cases.


options?

optional options: DiagramOptions

Options for the diagram.


url?

optional url: string

Optional url from which to load data after the component has been mounted. If you provide this and also data, this will take precedence.