documentationfor yFiles for HTML 2.6

IVisualTemplate

Template factory for creating visual representations of arbitrary data objects.

Inheritance Hierarchy
IVisualTemplate

Remarks

Implementations of this class have the purpose of creating a SvgVisual that serves as the visual representation of the object associated with this instance. This special-purpose interface is only used in some places where the user interface can be customized. The IVisualCreator interface is the main interface used by the CanvasComponent.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.view.IVisualTemplate

See Also

In most cases, the visual is created with createVisual and translated internally to the proper location. updateVisual is only called if the object bounds change. In some cases, updateVisual may never be called, e.g. for handle templates.

Methods

Static Methods