Login
Remember
Register
PlantUML Q&A
*NEW* Discord server
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Why stereotypes does not work in "as" statements
0
votes
asked
Nov 12, 2012
in
Closed question / help
by
anonymous
e.g.
@startuml
[Some Object]<<Stereotype>> as SO
Iface - SO
@enduml
This works:
@startuml
[Some Object] as SO
Iface - SO<<Stereotype>>
@enduml
Your comment on this question:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail]
(--------)
To avoid this verification in future, please
log in
or
register
.
1 Answer
0
votes
answered
Nov 12, 2012
by
plantuml
(
295,000
points)
Actually, it does work like this:
@startuml
[Some Object] as SO <<Stereotype>>
Iface - SO
@enduml
Maybe we should enable both syntax ?
commented
Nov 12, 2012
by
anonymous
Oh, thanks a lot. Is it documented? I'd prefer both to work as for me SO is an alias and Stereotype is property of Object, not it's alias.
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Related questions
skinparam arrowThickness does not work with stereotypes
Note "blah" as notename / classname .. notename (as documented) does not work
Why the decision node in plantuml for activity diagrams does not look like the one in the doc
The combination of while, if, note, and break statements does not draw the figure.
Class diagram: why there's an error when using both 'extends' and 'implements' statements in the same class?
All categories
Question / help
(1,464)
Bug
(1,637)
Wanted features
(1,420)
Closed question / help
(88)
Closed bug
(53)
Closed feature request
(130)
Won't fix
(3)
Won't implement
(12)
Can't help
(9)
To be deleted
(10)
To be sorted
(429)
...