Connector constraints

T

twingate

Hi all,

Without having looked at the API: Is it possible to create
connectors with constraints as to what shape they will and
won't connect to? What would be a good starting-point for this?
I imagine there must be an event-handler for connectors like
Connector::OnConnect?

Any suggestions would be much appreciated


Thanks,
Thomas
 
M

Mark Nelson [MS]

You can handle the ConnectionAdded and ConnectionDeleted events to find out
about connectivity changes. There is not a way to constrain the connectors,
so you would have to listen for the events and then undo any undesirable
actions.

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Top