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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Validating diagram model semanthics

Thread ID:





15417 Jun 17,2004 12:46 PM UTC Jun 17,2004 06:55 PM UTC WinForms 1
Tags: Diagram
Jose Luis Melo
Asked On June 17, 2004 12:46 PM UTC

I''m using Essencial Diagram to make a GUI that enables people to create some diagram (based on 3 ou 4 symbols I previously defined in the Symbol Designer). This diagrams people create have some semantic rules, but I don''t know how to implement them. For example, I can DragnDrop any symbols from the palette to the Model area. But when I''m going to link them I must assure that some instance of symbol type A (for example) isn''t connected to any instance of a symbol of type B. I don''t know how to do it using Validate event or something like that (I don''t event know how to access the links in the model... I thnik it''s not to clear in the documentation). Thank You

Administrator [Syncfusion]
Replied On June 17, 2004 06:55 PM UTC

Hi Jose, Kindly take a look at the code in the MemberSymbol.cs file in the OrgChart sample that ships with Essential Diagram. It has code for AcceptConnection which should give you an idea to do what you are seeking. However, there was a problem with the AcceptConnection method which has since been fixed. We should have a newer version available for download in Direct-Trac which includes this fix. Regards Arun


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon