Requirement: Building and Displaying an organization chart

I have the requirement to create an organization diagram chart from the CRM application that I am building.

The object model contains company, division, department and contact information with links between them to show how they relate to each other.

Can anyone provide some sample code in .Net that demonstrates how to generate an organisation heirarchy so that I can display a graphical representation of the structure of a given company?

I am currently developing this for .Net 2.0 on Windows, but if the output was a JPEG file that was intended for a web server that could work too.

Thanks!



Solutions:

Submit a new solution to this problem >
Standalone Java Orgchart Diagram using the Apprisant Toolkit
This example shows a standalone Java program that builds an orgchart diagram and writes it to a JPEG file.
(Java\JDK 5.0)
Creating an organizational chart using FlowChart.NET
The following code shows how to create an org.chart programmatically using the FlowChart.NET API.
(C#\Windows Forms)
Creating an organizational chart using AddFlow for .NET
The following code shows how to create an organization chart programmatically using the AddFlow for .NET API.
(C#\.NET Windows Form)
Building and displaying an organization chart in .NET using GoDiagram
GoDiagram for .NET can be used to easily create and display an organization diagram, either running locally using Windows Forms, or running from your web server as an ASP.NET application.
(Sample code in Visual Basic and c#\Microsoft .NET)
An expandable org. chart using NetDiagram and Ajax for ASP.NET
These requirements are very close to what is demonstrated in the OrgBrowser sample project coming with NetDiagram. Its key features are outlined below.
(C#, JavaScript\ASP.NET 2, Ajax for ASP.NET)