Options
All
  • Public
  • Public/Protected
  • All
Menu
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.

Hierarchy

  • VertexAttr

Implements

Index

Constructors

Properties

Object literals

Constructors

constructor

  • The constructor.

    Attributes will be initialized as defined in the model object which serves as a singleton.

    name

    VertexAttr

    Returns VertexAttr

Properties

draggable

draggable: boolean
member

{boolean}

memberof

VertexAttr

instance

isSelected

isSelected: boolean
member

{boolean}

memberof

VertexAttr

instance

selectable

selectable: boolean
member

{boolean}

memberof

VertexAttr

instance

visible

visible: boolean
member

{boolean}

memberof

VertexAttr

instance

Object literals

Static model

model: object

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

draggable

draggable: true = true

isSelected

isSelected: false = false

selectable

selectable: true = true

visible

visible: true = true

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Private property
  • Private method
  • Static property
  • Static method

Generated using TypeDoc