A flags enum that specifies which properties of items to synchronize during folding synchronization operations.
Remarks
The values can be combined to specify that multiple properties should be synchronized.
If only the locations of group nodes need to be synchronized, use NavigationInputMode.autoGroupNodeAlignmentPolicy.
See Also
Members
No filters for this type
Constants
Specifies that the ILabel.preferredSize should be synchronized.
Specifies that the ILabel.preferredSize should be synchronized.
Just used for labels.
static
Specifies that the ILabel.text should be synchronized.
Specifies that the ILabel.text should be synchronized.
Just used for labels.
static
- For INodes that will be INode.layout.
- For IEdges it will be the IEdge.bends, but does not include their ports, which need to be synchronized via the FoldingPortDefaults respective options, instead.
- For IPorts it will be their IPort.locationParameter.
- For ILabels it will be their ILabel.layoutParameter, but does not include their ILabel.preferredSize, which has a separate flag.
static
See Also
Specifies that the ITagOwner.tag of the items should be synchronized.
Specifies that the ITagOwner.tag of the items should be synchronized.
Static Methods
Converts the given argument to an enum constant of this enum type.
Converts the given argument to an enum constant of this enum type.
Most notably, this method can convert an enum constant's name into the enum constant itself.
static
Parameters
- value: FoldingSynchronizationOptionsconversion
- The value to convert to an enum constant.
Return Value
- FoldingSynchronizationOptions
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Returns the name of the given enum constant.
static
Parameters
- value: FoldingSynchronizationOptions
- The numeric value of an enum constant.
Return Value
- string
- The name of the enum constant.
Throws
- Exception ({ name: 'Error' })
- If this type is a flags enums, and the provided value doesn't correspond to a single enum constant, or if this enum type contains no constant of the given numeric value.