Search
DiagramWidget Class
Remarks See Also
 






Represents a dashboard widget that displays a MindFusion Diagram.

Namespace: MindFusion.Dashboards
File: DiagramWidget.js

 Syntax

JavaScript  Copy Code

// class
DiagramWidget.prototype = {}

 Remarks

This widget displays flow diagrams (flowcharts, networks, trees, etc) created using MindFusion.Diagramming API. Its dataPath should be set to the result of Diagram.toJsonObject call. Alternatively, you can populate the diagram from custom data, either by overriding the refresh method to render dynamic data, or by handling widgetLoaded event and rendering a static diagram.

 Inheritance Hierarchy

MindFusion.Dashboards.DashboardWidget
    MindFusion.Dashboards.DiagramWidget

 See Also