AD
Administrator
Syncfusion Team
September 6, 2005 04:35 PM UTC
Hello Vinod,
Creating a diagram programmatically using data sourced from an XML document is straight-forward and is demonstrated in the InDepth\OrgLayout and InDepth\Expander samples that ship with the product. While these samples create organizational charts using employee data sourced from an XML database file that provides the employee information, the diagram initialization/update logic that you would have to use for your software block diagrams are the same, and these samples will serve as a good starting point for your application.
You will use Essential Diagram symbols to represent the software blocks or gates that you have referred to. These symbols may be designed either using the Essential Diagram SymbolDesigner utility or defined programmatically in your application. Custom symbols used for representing diagram entities are demonstrated in several of the samples that ship with the product. The OrgLayout and Expander sample show symbols created for reprsenting employee informations, while other samples such as the DynamicSymbol, CustomSymbol, TextSymbol etc., show more generic symbols.
As for varying the number of connections...it is entirely up to your application to decide and define the number of connections that you would like to enter/exit from a symbol. Symbols connect to other symbols through their symbol ports, and you can increase/decrease the allowed connections by adding/removing the SymbolPorts. This can be done programmatically or even interactively as demonstrated in the InDepth\PortsAhoy sample.
We hope your evaluation of Essential Diagram is proceeding satisfactorily. Please let us know if we can be of any assistance.
Thanks,
Prakash Surendra
Syncfusion Inc.,