How To Setup GLEE?

Download MSAGL (GLEE) Libraries free of cost from http://research.microsoft.com/en-us/downloads/f1303e46-965f-401a-87c3-34e1331d32c5/ and start using in your .NET based applications for both windows and web. The package contains the following:

  • Layout engine (Microsoft.MSAGL.dll) – The core layout functionality. This component can be used standalone in cases when visualization is handled by a tool other than MSAGL. For example, you can just use this DLL to create a Graph and save it to a bitmap file.
  • Drawing module (Microsoft.MSAGL.Drawing.dll) – The Definitions of different drawing attributes like shapes, colors, line styles. This module also contains definitions of node class, edge class, and graph class. By using these classes a user can create a graph object and use it later for layout, and rendering.
  • Viewer control (Microsoft.MSAGL.GraphViewerGDIGraph.dll) – The viewer control can show the graph in a windows form. Some other rendering functionality is also part of this DLL.

Once downloaded, simply run the glee.msi file which uses windows installer to install the files to your hard disk. Typically all the files will be saved under C:\Program Files (x86)\Microsoft Research\GLEE directory.

After That add references to the MSAGL DLLs. To do this, simply right click on the references node of the solution explorer and choose “Add Reference”. Below dialog shows up.

AddReference-MSAGL-DLLs

Add Three DLLs of GLEE. They will now be added as references to the project. The solution now looks like:

SolutionExplorer-with-GleeTest-Project2

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s