|Deployment Diagrams [message #898456]
||Thu, 26 July 2012 12:13
| Augusto Ribeiro
Registered: April 2010
I am trying to generate deployment diagrams programatically. I can create Nodes without problems, the trouble comes when I try to connect them. I add a "communication path" between them
CommunicationPath con = (CommunicationPath) deploymentPackage.createPackagedElement(ind.getName().module, UMLPackage.Literals.COMMUNICATION_PATH);
The problem is that Papyrus does not show these in the Deployment Diagram (just a forbidden sign when I try to drag them in).
I tried also to go the other way around, i.e. draw the deployment diagram in Papyrus first but I also cannot get Nodes to connect using the "link".
Am I doing something wrong? Shouldn't I be able to connect Nodes? Or is the "Communication Path" used wrongly in my case.
Thanks in advance for the time.
Aarhus School of Engineering
Powered by FUDForum
. Page generated in 0.02228 seconds