Sprotty
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Class. Intersection Finder

isSupportedRoute()

protected isSupportedRoute(route): boolean

Defined in: packages/sprotty/src/features/edge-intersection/intersection-finder.ts:106

Specifies whether or not a specific route should be included in this intersection search or not.

As this intersection finder only supports linear line segments, this method only returns true for routes that only contain routed points, which are either ‘source’, ’target’ or ’linear’.

Parameters

route

RoutedPoint[]

Returns

boolean