Defines the rules for pasting nodes into group nodes.
Remarks
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.graph.ParentNodeDetectionModes
See Also
Constants
When used in combination with SELECTION or AT_LOCATION this setting will allow pasting nodes into their original.
See Also
A node should be pasted into the group node at the location where the node is pasted to or the root if there is no group node.
Remarks
See Also
If combined with PREVIOUS_PARENT forces the node to be pasted into its original parent, even if the parent has moved far away and pasting the node would increase the parents size considerably.
See Also
A bitmask that can be used to query the actual mode (ROOT, SELECTION, AT_LOCATION, or PREVIOUS_PARENT).
A bitmask that can be used to query modifications of the actual mode such as ALLOW_SELF or FORCE.
A node should be pasted into its original parent.
Remarks
If the parent has been removed from the graph in between the copy and paste operation the node will be placed into the parent's parent.
If the previous parent has been moved too far away the node will be placed into the root unless FORCE is set, too.
If this setting is combined with SELECTION or AT_LOCATION it will be overridden by the other setting.
See Also
Nodes should always be pasted into the root group.
Remarks
See Also
If exactly one group node is selected the nodes should be pasted into that group.
Remarks
As long as ALLOW_SELF is not set, too, a node will not be pasted into its original node. Note that it can be pasted into a copy of its original, though.
If this setting is combined with ROOT or PREVIOUS_PARENT it will override that setting if a group node is selected.
See Also
Static Methods
Converts the argument to ParentNodeDetectionModes.
Parameters
A map of options to pass to the method.
- value - ParentNodeDetectionModes
- The value to convert to ParentNodeDetectionModes.
Returns
- ↪ParentNodeDetectionModes
- Either
value
if it is already a ParentNodeDetectionModes or an appropriate converted value.