MindFusion.Diagramming for JavaScript Programmer's Guide

DiagramLink.setBaseShape Method

See Also
 





Sets the shape to display at the beginning of a link.

Namespace: MindFusion.Diagramming
File: DiagramLink.js

 Syntax

JavaScript  Copy Code

function setBaseShape (shape)

 Parameters

shape
A Shape instance that represents an arrowhead shape or a String that identifies it.

 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 methods. A valid string identifier is the name of any of the static methods members of the class.

 See Also