问题
In Sybase PowerDesigner, when designing an UML diagram that takes 2 copies/instances of the same XXXX object (ie. objects), the application adds a number identifier like "XXXX : 2" to that symbol. Is it possible to remove it?
Thanks in advance!
回答1:
It does not seem to be directly doable.
However, (somewhat tested with 16.0), you can add an Extension to your model, define a computed attribute (type String) on your object type, returning the object name:
%Get% = obj.name
and use Tools > Display Preferences > xxx > Advanced
to modify the symbol contents, and use your computed attribute instead of Name
...
回答2:
V 16.5
You can do that: 1. Select the Relationship 2. Right Click - Format 3. Click Content Tab 4. Go to Centre Section 5. Check "None", Keep "Stereotype" checked
来源:https://stackoverflow.com/questions/7841561/how-to-hide-the-symbol-number-on-powerdesigner