Object containing render callbacks for context menus for various targets. Optional. If provided, diagram maker will use these context menu render callbacks to show a context menu, and suppress the browser rendered context menu.
Callback to cleanup DOM rendered by the consumer properly before diagram maker removes it. In case, consumers are using React or any other rendering framework, the framework attaches event handlers that if not removed correctly, could cause a memory leak.
Object containing render callbacks for several panels keyed on panel name
Callback to render a panel.
Callback to render a panel.
Container managed by diagram maker to render content in Could diff against content already present in the container using React, Preact or any other VDOM.
Container used by consumer to render. Optional. Useful only when using Preact, since Preact appends by default and needs an Element to diff against in the container.
Callback to render a badge centered within the edge.
Container managed by diagram maker to render content in Could diff against content already present in the container using React, Preact or any other VDOM.
Container used by consumer to render. Optional. Useful only when using Preact, since Preact appends by default and needs an Element to diff against in the container.
Callback to render a node.
Container managed by diagram maker to render content in Could diff against content already present in the container using React, Preact or any other VDOM.
Container used by consumer to render. Optional. Useful only when using Preact, since Preact appends by default and needs an Element to diff against in the container.
Callback to render a potential node. Optional. Only useful when user might be dragging new nodes out of a panel.
Container managed by diagram maker to render content in Could diff against content already present in the container using React, Preact or any other VDOM.
Container used by consumer to render. Optional. Useful only when using Preact, since Preact appends by default and needs an Element to diff against in the container.
Generated using TypeDoc
Object containing callbacks for rendering & destroying various entities (like nodes, edges, panels, etc)