ASP.NET Pack Programmer's Guide
Diagram.create Method
See Also
 





Creates and initializes a new Diagram from the specified element. This method is static and can be called without creating an instance of the class.

Namespace: MindFusion.Diagramming
Package: Diagram.js

 Syntax

JavaScript  Copy Code

function create (element)

 Parameters

element

The DOM element that the diagram should be attached to.

 Return Value

A Diagram object that represents the newly created diagram.

 Remarks

This method is a shortcut method for Sys.Component.create and can be used to enable IntelliSense on the returned object.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace