Skip to main content

Home > @jsplumbtoolkit/browser-ui > LassoPluginOptions > selectionFilter

LassoPluginOptions.selectionFilter property

Optional filter that is passed every vertex/edge that the lasso would ordinarily select, and if this function returns false then the vertex/edge is not added to the selection

Signature:

selectionFilter?: (o: Edge | Vertex) => boolean;