fromDiv static method

Diagram? fromDiv(
  1. Object div
)

This static function gets the Diagram that is attached to an HTML DIV element.

Implementation

static _i3.Diagram? fromDiv(_i2.Object div) => _i4.callMethod(
      _declaredDiagram,
      'fromDiv',
      [div],
    );