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





Loads the diagram from an XML file.

Namespace: MindFusion.Diagramming
Package: Diagram.js

 Syntax

JavaScript  Copy Code

function loadFromXml (fileUrl, [onLoad, [onError]])

 Parameters

fileUrl

The URL of an XML file where the data should be read from.

onLoad
Optional.

A callback that should be invoked if the file is loaded successfully.

onError
Optional.

A callback that should be invoked if the file could not be downloaded.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
saveToXml Method