Interface: CanvasProps
Defined in: widgets/canvas.tsx:27
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 (graph nodes). Default is to render:
| ||
Custom provider to route (layout) diagram links on the diagram. Default is an DefaultLinkRouter instance. | ||
Custom provider to render diagram links (graph edges). Default is to render:
| ||
| 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. |