Attaches a node to a corner or side of another node.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public void attachTo ( |
A DiagramNode to which to attach this node.
This method attaches the current node to the corner of another node. If there isn't a Group instance already associated with the master item, one is created automatically by this method. The group is then accessible by the master's SubordinateGroup property, or this node's MasterGroup property.
The node is attached by calling the attachToCorner method of Group. The attached node then maintains its original offset from another node's corner point.