documentationfor yFiles for HTML 2.6

VisualCachingPolicy

Determines the policy whether and how Visuals are cached when they are removed temporarily from the CanvasComponent's visual tree.

Remarks

Visuals are temporarily removed when they are moved outside the visual part of the canvas (the viewport) and re-added when they enter the viewport again. Caching prevents the need to re-build the visuals from scratch.

In order to be cached a dispose visual callback has to be registered during creation.

Type Details

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

See Also

Constants

Static Methods