The AnchorPoint class represents a location in a node to which links are allowed to connect.
Namespace: MindFusion.Diagramming
Package: AnchorPoint.js
JavaScript Copy Code |
---|
// class |
Anchor points can be assigned to nodes only as constituent elements of an AnchorPattern object.
An anchor point can accept incoming or outgoing links, or both, as specified via the allowIncoming and allowOutgoing constructor parameters. The position of the anchor point inside a node's bounding rectangle is set through the x and y parameters, expressed as percent of the rectangle width and height.
How anchor points are marked on the display can be set using MarkStyle and Color properties.