We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Creating software blocks Using Syncfusion

Hi, I would like to evaluate the Essential Diagram product for creating Control Software Block Diagrams. We are going to use C# for the same. There would be an XML file which would be read to create the Control Diagram [Algorithm] with connections between them. The Control Blocks would have to be created using Essential Diagram Suite. The Windows forms application will read the XML and depending on the XML structure would create the Control Diagram with Connections between the Software Blocks. These software blocks can be assumed to be AND, XOR , NAND gates etc which have to be created using the Essential Diagram. The blocks should have to be so flexible that it should be configurable for the no: of connections. Any ideas on this would be of great help to me..! Regards, Vinod

1 Reply

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.,

Loader.
Live Chat Icon For mobile
Up arrow icon