AD
Administrator
Syncfusion Team
August 6, 2004 07:47 PM UTC
Hi Theo,
Essential Diagram provides only the basic plumbing for the LayoutManager and the actual layout algorithm has to be implemented by the application hosting the diagram. In your application, first subclass the Diagram.LayoutManager class, override it''s UpdateLayout(object contextInfo) method and then provide the appropriate layout logic from within this method. Setting the Diagram.LayoutManager property to refer to an instance of your LayoutManager will then hook up the diagram to the layout manager.
The Essential Diagram\OrgChart sample shows an implementation for a LayoutManager. Referring to this sample and the class reference documentation on the LayoutManager type will give you a good idea on how to go about adding layout management.
Regards,
Prakash Surendra,
Syncfusion, Inc.