Skip to main content

Home > @jsplumbtoolkit/core > JsPlumbToolkit > select

JsPlumbToolkit.select() method

Gets an ad-hoc selection

Signature:

select(obj: string | Array<string> | Base | Array<Base> | Path | Selection, includeEdges?: boolean): Selection;

Parameters

ParameterTypeDescription
objstring | Array<string> | Base | Array<Base> | Path | SelectionObject to select. May be a Node/Group/Port/Edge or an array of any one of these, or a Vertex id, a Selection, or a Path.
includeEdgesbooleanIf true, include edges between vertices

Returns:

Selection