panel property

Panel? get panel

This read-only property returns the GraphObject's containing Panel, or null if this object is not in a Panel.

Although Part inherits from this class, a Part will never belong to a Panel, so this property will always be null for every Node or Link.

This property is not settable. Instead, call Panel#add in order to put a GraphObject in a Panel.

Implementation

_i3.Panel? get panel => _i4.getProperty(
      this,
      'panel',
    );
set panel (Panel? value)

Implementation

set panel(_i3.Panel? value) {
  _i4.setProperty(
    this,
    'panel',
    value ?? _i5.undefined,
  );
}