Loads the diagram from an XML file.
Namespace: MindFusion.Diagramming
File: Diagram.js
SyntaxJavaScript
Copy Code
|
|---|
function loadFromXml (fileUrl, [onLoad, [onError]]) |
String. The URL of an XML file where the data should be read from.
function. A callback that should be invoked if the file is loaded successfully.
function. A callback that should be invoked if the file could not be downloaded.
See Also