getTemporaryState method

Object getTemporaryState(
  1. Object obj
)

Gets the ObjectData associated with this GraphObject or Diagram. If no state exists, this creates and returns a new ObjectData.

This can be used to store temporary information per animated object during the course of an animation. This state is cleared at the end of an animation.

Implementation

_i2.Object getTemporaryState(_i2.Object obj) => _i4.callMethod(
      this,
      'getTemporaryState',
      [obj],
    );