Interface: CanvasProps
Props for Canvas component.
See
Properties
Property | Type | Description |
---|---|---|
|
| Canvas widgets to display alongside the diagram cells. Non-widget child elements will be ignored with an console-emitted warning. |
|
| Custom provider to render diagram elements. Default is to render elements with StandardTemplate. |
| Custom provider to route (layout) diagram links on the diagram. Default is an DefaultLinkRouter instance. | |
| Custom provider to render diagram links of a specific type. Default is to render links with DefaultLinkTemplate which uses DefaultLinkPathTemplate for the link itself. | |
|
| Whether to show scrollbars for the canvas viewport. Default
|
|
| SVG image source to display as a watermark in the top-right corner of the canvas. Default is no watermark. |
|
| Link URL to open on a click on the watermark image. Only applicable if watermarkSvg is set. Default is no link on the watermark. |
| Options for the scale-affecting operations on the canvas. |