# Enumeration LayoutConditions

GoJS® Diagramming Components
version 3.0.7
by Northwoods Software®

This enumeration specifies possible values for Part.layoutConditions. These values can be combined as flags.

`since`

3.0

#####
Index

### Enumeration Members

Added
GroupLayout
Hidden
NodeReplaced
NodeSized
None
Removed
Shown
Standard

## Enumeration Members

### Added

Indicates that when a Part is added to a Diagram or Group, it invalidates the Layout responsible for the Part.

### GroupLayout

Indicates that when a Group has been laid out, it invalidates the Layout responsible for that Group; this flag is ignored for Parts that are not Groups.

### Hidden

Indicates that when a Part's GraphObject.visible becomes false, it invalidates the Layout responsible for the Part.

### NodeReplaced

Indicates that when a Node or simple Part's category changes, it invalidates the Layout responsible for the Part; this flag is ignored for Parts that are Links.

### NodeSized

Indicates that when a Node or simple Part's GraphObject.actualBounds changes size, it invalidates the Layout responsible for the Part; this flag is ignored for Parts that are Links.

### None

Indicates that no operation on a Part causes invalidation of the Layout responsible for that Part.

### Removed

Indicates that when a Part is removed from a Diagram or Group, it invalidates the Layout responsible for the Part.

### Shown

Indicates that when a Part's GraphObject.visible becomes true, it invalidates the Layout responsible for the Part.

### Standard

This is the default value for the Part.layoutConditions property, basically a combination of all of the conditions: the Layout responsible for the Part is invalidated when the Part is added or removed or replaced from the Diagram or Group, or when it changes visibility or size, or when a Group's layout has been performed.

Copyright © 1998-2024 by Northwoods Software Corporation.