Search
DiagramNode.attach Method
See Also
 





Attaches the specified subordinate node to this node, so that when this node is moved, the subordinate follows it.

Namespace: MindFusion.Diagramming
File: DiagramNode.js

 Syntax

JavaScript  Copy Code

function attach (subordinate)

 Parameters

subordinate

A DiagramNode instance specifying the node that should be attached.

 Remarks

Layout algorithms can treat a group of attached nodes either as a single node to be placed in the arranged graph, or as distinct nodes whose final positions are set independently from the initial group layout. This is controlled via the keepGroupLayout property.

 See Also