Skip to main content
DiagramComponentProps
NameTypeDescription
className?stringOptional class name to set on the diagram component's container
data?anyOptional data to load after the component has been mounted.
modelOptions?ModelOptionsOptions for the model used by the diagram. Only required for
certain advanced use cases.
options?DiagramOptionsOptions for the diagram.
url?stringOptional url from which to load data after the component has been mounted. If you provide this and also data, this will take precedence.