computeEffectiveCollection method
Map<Part, DraggingInfo>
computeEffectiveCollection(
- Iterable<
Part> parts, [ - DraggingOptions? options
Find the actual collection of nodes and links to be moved or copied, given an initial collection. This includes links that connected at both ends to nodes being moved or copied, members of Groups, and if DraggingTool#dragsTree is true, this includes nodes and links that are "tree" descendants from selected nodes.
Note that this does not return a simple collection of Parts, but a Map associating a chosen Part with an Object holding its original location Points as the value of the "point" property.
This method may be overridden. Please read the Introduction page on Extensions for how to override methods and how to call this base method.
This was moved to CommandHandler from DraggingTool in 2.0. @expose @param {Iterable.
Implementation
_i3.Map<_i3.Part, _i3.DraggingInfo> computeEffectiveCollection(
_i3.Iterable<_i3.Part> parts, [
_i3.DraggingOptions? options,
]) =>
_i4.callMethod(
this,
'computeEffectiveCollection',
[
parts,
options ?? _i5.undefined,
],
);