Search
AnchorPoint Class
Remarks See Also
 





The AnchorPoint class represents a location in a node to which links are allowed to connect.

Namespace: MindFusion.Diagramming
Package: AnchorPoint.js

 Syntax

JavaScript  Copy Code

// class
AnchorPoint.prototype = {}

 Remarks

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 properties. The position of the anchor point inside a node's bounding rectangle is set through the x and y properties, expressed as percentage of rectangle's width and height.

How anchor points are marked on the display can be set using markStyle and color properties.

 Inheritance Hierarchy

MindFusion.Diagramming.AnchorPoint

 See Also