documentationfor yFiles for HTML 2.6

IVisualCreator

Factory interface which is used by implementations that know how to create Visuals for rendering into a given IRenderContext.

Remarks

The methods createVisual and updateVisual manage the actual visual representation, the Visual. The createVisual method is called when the object's visualization should become visible for the first time. In the subsequent redrawing process, the updateVisual method is called with the Visual instance of the previous rendering step. In this method, the given Visual instance's values (e.g. the position) can be updated instead of creating a new Visual instance.

Keep in mind:

Type Details

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

See Also

Methods

Static Methods