Search
DiagramLayout Class
Remarks See Also
 






Represents a diagram-based layout for dashboard widgets.

Namespace: MindFusion.Dashboards
File: DiagramLayout.js

 Syntax

JavaScript  Copy Code

// class
DiagramLayout.prototype = {}

 Remarks

DiagramLayout provides an unconstrained, freeform placement surface powered by the MindFusion.Diagramming engine. In this mode, widgets float as interactive nodes across an infinite or bounded canvas rather than being constrained to uniform grid rows.

Each widget added to a DiagramLayout is wrapped inside a ControlNode. Widgets can be positioned at arbitrary (x, y) coordinates and sized freely using diagram node bounds.

A unique feature of DiagramLayout is the ability to link widgets using DiagramLink instances. This allows developers to visually diagram data pipelines, network topographies, supply-chain flows, and hierarchical drill-down paths where arrows directly connect interactive cards, charts, and tables.

In DashboardMode.Edit, users can pan the diagram canvas, zoom in and out, drag widgets to reposition them, and draw connections between card anchor points.

 Inheritance Hierarchy

MindFusion.Dashboards.LayoutBase
    MindFusion.Dashboards.DiagramLayout

 See Also