Community
Participate
Working Groups
In addition to the import of the semantics information contained in a RSA-RTE model of a UML profile, Papyrus shall support the import of its graphical information Regarding the graphics and layout, the diagram layout "should be look similar" and so the diagrams are "recognizable". An example could be that the e.g. line routing shouldn't change "too much" so that the viewer of the diagram would need to "interpret" it again.
*** Bug 425095 has been marked as a duplicate of this bug. ***
Also remember the name of the new Papyrus model must be .profile.uml or else we cannot apply it to a Papyrus model.
This is now working but there remains issues: #1 Stereotypes with no properties take up too much space. The empty box should be much smaller. #2 As with #1 there is a whole bunch of space under the Stereotype properties, where there are some, that just takes up valuable space. #3 If the original diagram has no over lapping for streotypes on the canvas then then imported diagram should not either. This is not the case today. #4 There is too much connector line overlap accross streotypes.
No improvement in v5
Almost everything is related to the default size of elements in Papyrus, which is bigger than the minimum required size. Moreover, it's not possible to hard-code a default size in the transformation, because the default size of the source element depends on its contents (The number of properties owned by the Stereotype). The layout of connectors depends on the size of the nodes (i.e. making the nodes smaller will fix the connectors) I'm not sure if there's any other solution than changing the default size of nodes in Papyrus (To make them smaller)
Fixed in a808fbf (Luna), 3a67bf4 (Mars/Master)