Profile Picture

Checking a connection is valid

Posted By Jeremy Abercrombie 13 Years Ago
Author
Message
Jeremy Abercrombie
Posted 13 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 5, Visits: 1

I am looking at incorporating the Nevron diagram tool to model a process in our software. I need to validate the diagram as the user creates it. When a line is inserted using the connection tool how can I check if it is connected at both ends and what it is connected to? I have used the EventSinkService to get notified that a shape has been added and I can cast it to an NLineShape but I don't know how to check what it is connected to.

I thought about the Connected and Connecting events but they only fire when something is actually connected and only tell you about each end of the connection independantly. Also, if a user just drags a connection on the diagram and doesn't connect it to anything you don't get these events.

 

Thanks for your help,

Jeremy.

 






Similar Topics


Reading This Topic