Allows the use of an IEdgeStyle to render the selection, highlight, or focus indicator of edges.
Implements
- I
- I
- I
- I
Remarks
The renderer of the edgeStyle used by this class must create SvgVisuals.
The zoomPolicy property defines how the zoom level affects the rendering of the indicator. It can either scale according to the zoom level similar to regular graph items or always have the same thickness regardless of the zoom, similar to the default yFiles indicators.
See Also
Developer's Guide
API
- NodeStyleIndicatorRenderer, LabelStyleIndicatorRenderer, PortStyleIndicatorRenderer
Members
No filters for this type
Constructors
Properties
Gets or sets the style to use for the rendering.
Gets or sets the style to use for the rendering.
If no style is specified, the style of the decorated edge is used.
final
Gets or sets how the style is affected by the current zoom level.
Gets or sets how the style is affected by the current zoom level.
The default value is VIEW_COORDINATES.
conversionfinal
Methods
Returns an implementation of IBoundsProvider that can determine the visible bounds of the rendering of the render tag.
Returns an implementation of IBoundsProvider that can determine the visible bounds of the rendering of the render tag.
This method may always return the same instance. By contract, clients will not cache instances returned, but will always call this method before the methods on the instance will be called. This contract enables the use of the flyweight design pattern. Implementations of this class can always return the same instance and reconfigure this instance upon each call to this method.
final
Parameters
- renderTag: IEdge
- the render tag to query the bounds for
Return Value
- IBoundsProvider
- An implementation of IBoundsProvider to determine the bounds of the visualization.
Implements
IObjectRenderer.getBoundsProviderReturns an implementation of IHitTestable that can determine whether the rendering of the render tag has been hit at a given coordinate.
Returns an implementation of IHitTestable that can determine whether the rendering of the render tag has been hit at a given coordinate.
This method may always return the same instance. By contract, clients will not cache instances returned, but will always call this method before the methods on the instance will be called. This contract enables the use of the flyweight design pattern. Implementations of this class can always return the same instance and reconfigure this instance upon each call to this method.
final
Parameters
- renderTag: IEdge
- the render tag to do the hit testing for
Return Value
- IHitTestable
- An implementation of IHitTestable to determine visibility.
Implements
IObjectRenderer.getHitTestableReturns an implementation of IVisibilityTestable that can determine if the rendering of the render tag would be visible in a given context.
Returns an implementation of IVisibilityTestable that can determine if the rendering of the render tag would be visible in a given context.
This method may always return the same instance. By contract clients will not cache instances returned but will always call this method before the methods on the instance will be called. This contract enables the use of the flyweight design pattern. Implementations of this class can always return the same instance and reconfigure this instance upon each call to this method.
final
Parameters
- renderTag: IEdge
- the render tag to query visibility for
Return Value
- IVisibilityTestable
- An implementation of IVisibilityTestable to determine visibility.
Implements
IObjectRenderer.getVisibilityTestableReturns an implementation of IVisualCreator that will create the Visual tree for the render tag.
Returns an implementation of IVisualCreator that will create the Visual tree for the render tag.
This method may always return the same instance. By contract, clients will not cache instances returned, but will always call this method before the methods on the instance will be called. This contract enables the use of the flyweight design pattern. Implementations of this class can always return the same instance and reconfigure this instance upon each call to this method.
final
Parameters
Return Value
- IVisualCreator
- An implementation of IVisualCreator to create or update the visualization.