Classdesc

The VertexAttr is a helper class to wrap together additional attributes to vertices that do not belong to the 'standard canonical' vertex implementation.

This is some sort of 'userData' object, but the constructor uses a global model to obtain a (configurable) default attribute set to all instances.

Implements

Constructors

Properties

draggable: boolean

Member

Memberof

VertexAttr

Instance

isSelected: boolean

Member

Memberof

VertexAttr

Instance

selectable: boolean

Member

Memberof

VertexAttr

Instance

visible: boolean

Member

Memberof

VertexAttr

Instance

model: IVertexAttr = ...

This is the global attribute model. Set these object on the initialization of your app to gain all VertexAttr instances have these attributes.

Generated using TypeDoc