Home > @jsplumbtoolkit/connector-editors > newInstance
newInstance() function
Creates a new path editor attached to the given surface.
Signature:
export declare function newInstance(surface: Surface, options?: ConnectorEditorOptions): EdgePathEditor;
Parameters
Parameter | Type | Description |
---|---|---|
surface | Surface | |
options | ConnectorEditorOptions |
Returns: