E

ParentNodeDetectionModes
flags

The modes used to detect group nodes to paste other nodes into.

Members

No filters for this type

Constants

A node should be pasted into the group node at the location where the node is pasted to.

A node will not be pasted into its original node. Note that it can be pasted into a copy of its original, though.

This mode is preceded by SELECTION but has precedence over PREVIOUS_PARENT.

static

See Also

Developer's Guide
Nodes should not be pasted into group nodes but are pasted top-level.
If combined with any other modes, all other modes have precedence over this fallback.
static

See Also

Developer's Guide
A node should be pasted into its original parent or ancestor, if it has not been moved away too much.

If the previous parent has been removed from the graph or moved too far away in between the copy and paste operation, the detection will proceed with the parent's parent.

If this setting is combined with SELECTION or AT_LOCATION it is preceded by both.

static

See Also

Developer's Guide
If exactly one group node is selected, the nodes should be pasted into that group.

A node will not be pasted into its original node. Note that it can be pasted into a copy of its original, though.

This mode has precedence over all other detection modes, so the other modes will only be used if no suitable single group node can be detected.

static

See Also

Developer's Guide

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

Return Value

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

Parameters

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