Skip to main content

IDiagram.MoveToCanvas(IEnumerable<INode>) method

Namespace: NextDesign.Core

Description

Moves all specified node shapes so that the diagram becomes the parent on the display.
At this time, the structure of the model that corresponds to the node shape will not be changed.
Note that the specified node shape must satisfy all of the following conditions. Node shapes that do not meet the conditions will be ignored.

  • Not port shaped
  • The mapping target is not a field.

argument

NameTypeDescription
nodesIEnumerable<INode>Enumeration of node shapes
Cannot be null.

Return value

  • void

Exception

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf null is specified for nodes