The AnchorPoint class represents a location in a node to which links are allowed to connect.
Namespace: MindFusion.Diagramming
File: 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 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.
MindFusion.Diagramming.AnchorPoint
JavaScript Pack Programmer's Guide | © 2024 MindFusion |