Home > @jsplumbtoolkit/browser-ui > Selection > setMaxEdges
Selection.setMaxEdges() method
Sets the maximum number of edges the selection can hold. The action taken when appending an edge that would take the selection above its limit depends on the current capacityPolicy
, which can be either Selection.DISCARD_EXISTING (the default) or Selection.DISCARD_NEW.
Signature:
setMaxEdges(_maxEdges: number): void;
Parameters
Parameter | Type | Description |
---|---|---|
_maxEdges | number |
Returns:
void