documentationfor yFiles for HTML 2.6

IModelItem

Base interface for items that can be used in a CanvasComponent.

Remarks

Most prominently this is the interface all graph elements used in IGraph implement.

It adds no functionality over the ILookup and ITagOwner interfaces it inherits.

To add custom visuals to a CanvasComponent it is not necessary to implement this interface. Instead, any object can be added directly to the canvas, provided there is a suitable ICanvasObjectDescriptor implementation for rendering it.

Type Details

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

See Also

Properties

Methods