The AnchorPattern class represents a set of anchor points, which specify the exact locations where links are allowed to connect to nodes.
Namespace: MindFusion.Diagramming
Package: AnchorPattern.js
JavaScript Copy Code |
---|
// class |
A pattern can be assigned to nodes by calling their setAnchorPattern method. The AnchorPattern class exposes several predefined patterns as static fields: decision2In2Out, decision1In3Out, leftInRightOut, topInBottomOut.