MindFusion.Diagramming for JavaScript Programmer's Guide

DiagramLink.setShape Method

See Also
 





Sets the type of link segments and how they are positioned one relatively to another.

Namespace: MindFusion.Diagramming
File: DiagramLink.js

 Syntax

JavaScript  Copy Code

function setShape (value)

 Parameters

value
One of the LinkShape Enumeration values.

 Remarks

The property specifies the shape that is displayed at the beginning of a link, that is, the point where it is connected with its origin node. This shape is rotated simultaneously with the first segment of the link so that it follows the overall link direction.

The Shapes class exposes several predefined shapes as static properties.

 See Also