Attaches the specified subordinate node to this node, so that when this node is moved, the subordinate follows it.
Namespace: MindFusion.Diagramming
Package: DiagramNode.js
JavaScript Copy Code |
---|
function attach (subordinate) |
A DiagramNode instance specifying the node that should be attached.
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.