feature

Hi, Is it possible to give an xml tree to Diagram control and render it automatically in runtime ? Regards Stefan

2 Replies

AD Administrator Syncfusion Team December 20, 2005 01:15 PM UTC

continue .. I have seen the Expander sample ( ver 4.1) Questions 1. Speed - It is slow . 2. How to display the tree from left to right .( the root nodes left ) ? 3. How to Print ? Regards Stefan


AD Administrator Syncfusion Team December 21, 2005 07:21 PM UTC

Hi Stefan, Are you interested in the Windows Forms or the ASP.NET version of Essential Diagram? What aspect of the sample do you find to be slow? Regarding laying out the hierarchy tree from left to right, the Expander sample uses a custom implementation of the Essential Diagram LayoutManager to position the diagram nodes. This implementation uses a simple vertical layout for arranging diagram nodes. You can either customize the sample''s layoutmanager to use a horizontal layout for the organization tree, or use the new DirectedTreeLayoutManager class. The DirectedTreeLayoutManager is a new addition introduced in the 4.1 version of Essential Diagram and implements a pre-built layout manager that will let you create horizontal, vertical and angular trees. The new DirectedTreeLayoutManager and RadialTreeLayoutManager classes are demonstrated in the BoundingLayout, DirectedTrees and RadialLayout samples that ship with the product and can be found under the Diagram.Windows\Samples\LayoutManagers\ folder. The Windows Forms version of Essential Diagram features comprehensive support for printing. Diagram Windows Forms printing is demonstrated in the Diagram.Windows\QuickStart\Printing and Diagram.Windows\InDepth\DiagramBuilder samples. The ASP.NET version will however have to rely on the client browsers capability to render images to the printer. Regards Prakash Surendra Syncfusion Inc.,

Loader.
Up arrow icon