initialPosition property
Point
get
initialPosition
Gets or sets the initial coordinates of this Diagram in the viewport, eventually setting the #position. This value is relevant on initialization of a #model or if #delayInitialization is called. Value must be of type Point in document coordinates. The default is Point(NaN, NaN).
Setting this property has the same effect as implementing an "InitialLayoutCompleted" DiagramEvent listener that sets #position.
Setting this property does not notify about any changed event.
Implementation
_i3.Point get initialPosition => _i4.getProperty(
this,
'initialPosition',
);
set
initialPosition
(Point value)
Implementation
set initialPosition(_i3.Point value) {
_i4.setProperty(
this,
'initialPosition',
value,
);
}