|  | 
|  | 
|  | 
|  | 
|  | 
|  | 
|  | 
| 
| Re: Insert custom symbol/image in UML diagram [message #1837129 is a reply to message #1837053] | Fri, 22 January 2021 09:00  |  | 
| Eclipse User  |  |  |  |  | I continue to struggle to get the shape and icon associated in the profile of the Actor-based stereotype, to render in the UseCaseDiagram.  I will attach two example models which demonstrate the problem.  They can be imported.  One depends on having sysml installed and the other only requires a default installation (standard UML).  The reason for providing the Standard UML model is so that it is possible for someone with a basic installation to see the problem, although Actor is not provided in the Class Diagram of Standard UML so one cannot compare the characteristics of the same type in different diagrams.  The reason for providing the Sysml model is because Actor is available on the palettes of both the Use Case Diagram and Block Definition Diagram.  The Style CSS in the project is applied to Actor in general, and thus applies to both diagrams.  Thus the Sysml project allows one to compare the characteristics of the Actor in the BDD and the UCD. 
 The problem is that the North star icon is not shown for the <<ActorExtension>>  in the UCD, while it is shown in the BDD.  I would the version in the UCD to look the same as that in the BDD.  I realize that there are probably some default parameters that are associated to each diagram type.  However I have tried to understand those defined in umlBase.css (linked above), and tried to invert them and tested many other things using this as a reference: https://wiki.eclipse.org/MDT/Papyrus/UserGuide/CSS#Stereotype_Properties_Display.
 
 I know a workaround is to assign the svg path to the model's (rather than the profile's) css parameter "svgFile".  However I would prefer to avoid that as it should be possible to use the profile in many models and have the image associated to the usages by default.
 
 Thanks in advance!
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.53950 seconds