LayoutChange
This enumerates the reasons that a layout may no longer be valid when a particular Part has been added or removed.
Fields
Added : LayoutChange
A node, link, or group membership has been added.
All : LayoutChange
All LayoutChange flags combined together, except for InitialOnly. Caution: due to the likelihood of frequent layouts, this is basically only used to indicate to Part) that a new layout should be performed unconditionally.
DiagramLayoutChanged : LayoutChange
The Layout property value has been replaced. There is no Part associated with this change.
GroupLayoutChanged : LayoutChange
The Layout property value has been replaced on a group.
GroupSizeChanged : LayoutChange
The size of a group has changed.
InitialOnly : LayoutChange
When this flag is included in the Conditions, no layouts will occur after the initial one, unless the layout is invalidated unconditionally.
LinkAdded : LayoutChange
A link has been added to the diagram.
LinkRemoved : LayoutChange
A link has been removed from the diagram.
MemberAdded : LayoutChange
A member node has been added to a group.
MemberRemoved : LayoutChange
A member node has been removed from a group.
NodeAdded : LayoutChange
A node has been added to the diagram.
NodeLocationChanged : LayoutChange
The location of a node or group has changed. Caution: this is rarely used, due to the likelihood of frequent layouts.
NodeRemoved : LayoutChange
A node has been removed from the diagram.
NodeSizeChanged : LayoutChange
The size of a node (that is not a group) has changed. Caution: this is uncommonly used, due to the likelihood of frequent layouts.
None : LayoutChange
No particular reason for an layout invalidation.
Removed : LayoutChange
A node, link, or group membership has been removed.
Standard : LayoutChange
All of the Added and Removed flags, plus DiagramLayoutChanged and GroupLayoutChanged, but not NodeSizeChanged and NodeLocationChanged and InitialOnly. This is the default value of Conditions. It corresponds to all of the graph-structural changes and layout replacements.
ViewportSizeChanged : LayoutChange
The size of the ViewportBounds has changed, either because the DiagramPanel has changed size or because the Scale has changed. This only applies to the top-level layout, the Layout.
VisibleChanged : LayoutChange
The Visible property has changed on a node or a link.