MindFusion.Diagramming for JavaScript Programmer's Guide

ShapeNode Class

Remarks See Also
 





ShapeNode instances are diagram nodes that represent geometric shapes.

Namespace: MindFusion.Diagramming
File: ShapeNode.js

 Syntax

JavaScript  Copy Code

// class
ShapeNode.prototype = {}

 Remarks

ShapeNode instance might represent nodes in graphs, tree, process diagrams, and so on. The default shape of nodes in the Diagram is specified by the setDefaultShape property. Shapes can be rotated, either interactively using the rotation handle above the node, or programmatically using the setRotationAngle property. Shape nodes can display images and text. Set an image to be painted inside a node by calling the setImage property. The position of the image within the node as well as its alignment are set by the setImageAlign method.

 See Also