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