cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DiagramTypeLink InsideConnection

ColruytTeam
Honored Contributor

Hi Community, Am implementing automatic Aggregation (and similar) relation between two same type of objects (lets say Application) just by placing one in to other on a diagram. I found that it can be done using "DiagramTypeLink InsideConnection" option in diagram type link.  I selected "container component " as a value from drop down. Now If i place one object inside the other it is connecting with out object with aggregation relation.


But when I drag the inner object out of the outer object it is disconnecting the link. Can i over ride this functionality. SO that, it should not disconnect the link when I drag the inner object out.

 

THanks in advance.

Colruyt Team
2 Replies

One more way can be is you can create a macro of ondrag macro on the diagram that might help.

imrankhatyan
Trusted Contributor

That would beat the whole purpose of insideconnection and container object.I would suggest have multiple diagram types one with a container object and one without, if you would do it on one the other is automatic.