Microsoft Automatic Graph Layout is a .NET tool for laying out and visualizing directed graphs. It is available at github.com an open source project.
The MSAGL software supplies three programming libraries:
- Microsoft.MSAGL.dll, a device-independent graph layout engine;
- Microsoft.MSAGL.Drawing.dll, a device-independent implementation of graphs as graphical user interface objects, with all kinds of graphical attributes, and support for interface events such as mouse actions;
- Microsoft.MSAGL.GraphViewerGDI.dll, a Windows. Forms-based graph viewer control.
Automatic Graph Layout includes three integrated components:
- An automatic layout engine that simplifies creating aesthetically pleasing graphs with thousands of nodes that are easy to understand.
- A drawing layer that enables you to modify the attributes of the graphical components, such as the colour of nodes and the style of edges.
- A Windows-based viewer that uses the engine and drawing layer to create interactive graphs.
Creating a complex graph typically takes just three steps:
- Create the graph object.
- Set the nodes and edges.
- Bind the graph object with the viewer.