E

CloneTypes
flags

Used by GraphCopier and ClipboardGraphCopier to indicate which types of objects should be cloned during copy operations.

Remarks

The object types are such as styles or tags.

Members

No filters for this type

Constants

A combination of all flags in this enumeration.
Indicates that IEdgeStyles should be cloned when their edge is copied.
If set, the copied item will get a clone of the original's style.
static
Indicates that ILabelStyles should be cloned when their label is copied.
If set, the copied item will get a clone of the original's style.
static
Indicates that INodeStyles should be cloned when their node is copied.
If set, the copied item will get a clone of the original's style.
static
Indicates that nothing should be cloned.
Indicates that IPortStyles should be cloned when their port is copied.
If set, the copied item will get a clone of the original's style.
static
Indicates that tags should be cloned when their owner is copied.

If set, the copied item will get a clone of the original's tag.

Note that the tag will only be cloned if its class implements ICloneable.

static

Static Methods

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: CloneTypes
The value to convert to an enum constant.

Return Value

CloneTypes
The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
static

Parameters

value: CloneTypes
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.