diagram property
Diagram?
get
diagram
This read-only property returns the Diagram that this GraphObject is in, if it is.
This property is not settable. Although you cannot add any plain GraphObject to a Diagram, you can call Diagram#add to add a Part to a Diagram.
Implementation
_i3.Diagram? get diagram => _i4.getProperty(
this,
'diagram',
);
set
diagram
(Diagram? value)
Implementation
set diagram(_i3.Diagram? value) {
_i4.setProperty(
this,
'diagram',
value ?? _i5.undefined,
);
}