How to add an annotation to a partition in activity diagram

0 votes
asked Jan 16 in Wanted features by kasra (1,040 points)
edited Jan 16 by kasra

Hi,

I don't know if this feature is implemented or not but anyway, this diagram shows the problem : 

@startuml
start
partition P{
:a;
:b;
note left : left
note right : right

note right : this should be the right annotation partition
end
@enduml

server

This has an impact on the layout because the partition is getting bigger...

Is it possible to add an annotation to the partition?

thanks

commented Jan 18 by kasra (1,040 points)
thanks.

But Is it a bug or It's not implemented ?

The last post that highlights the issue is 5 years ago.
commented Jan 18 by The-Lu (70,400 points)

Hello K, and all,

It is not implemented: in fact currently only inside note on partition/group is implemented...

(But this also looks like a bug) ... And all other not... 

If that can help,
Awaiting note outside partition/group...

Regards,
Th.

commented Jan 18 by kasra (1,040 points)
For me it's a bug. I talk only about adding annotation to a partition.

If it's not implemented it should throw an exception Instead.
commented Jan 18 by The-Lu (70,400 points)

Hello K, and all,

From:

Here is another issue (tested on V1.2024.0beta2):

@startuml
start
partition P{
note right : this note is missing
} 
note right : this should be the **outside** right annotation partition
@enduml

Regards,
Th.

commented Jan 23 by kasra (1,040 points)
Do you think this is considered as an important feature ? ( I DO lol )

Annotating partitions ( and any container actually ) is an important feature when the diagram becomes  BIG.

Thanks
commented Jan 23 by The-Lu (70,400 points)
Hello K, and all,

It is now a wanted feature for PlantUML team:

- Could you allow note outside (right or left of)) partition on Activity diagram?

Regards,
Th.
commented Jan 25 by kasra (1,040 points)
edited Jan 25 by kasra

Hi,

I did a bit of research on how plantuml works with notes.

https://www.plantuml.com/plantuml/png/bPHHQzj03CVVzIcqT8Ca6sDl1OT1qvJ2AAo5xMtiuM9VxMFsdV79sORnTz-TBuiktgKmFoH2-kalMHA-iIGwwfiQNhtUY_n7sPbU5pjJc-xZukh3z2o05DKIFnkI5fN6RKxgeEZtEzpLmbeKki2TQLgZfIQyKwBiH8FBDmVPMMNqShM2gGo0RMj5CA-KmJ2SrJ0Qdnolo6N71L_IpfIrlVIfscjiGYs4zYJqnJIIPGV8jXlmBDRocJ13jXyV8BlTuENeY4TvKGgbBnRvlnfNz_T-tDVN464FZo1r4HmmNi3bBvAT5dN0zZq1-jxQLehERyogGhu7_4IOLqANqgAehK6gv9G1Q9xn5jVhfJRO6gMTscgzviAJ5NQNQLSCnN4Xcoa2umYRU23f3RVE9qg9JyT_OPs90-3qp6uiN5PotuZv5DowtC6I89MFBeKmDxrl7TuUZ2fm47jBdSXfnEb2bXuXrKZJKsDNbwYxlXFJ9e_e2aOUkX_KDil-5aByMYcBZMpsiaDd2UrGGR8upUwVt4MgcGLBKMKA_AceGeUmJAI3an9cE7S5fbDbHSn4BcR8j1Zhi8kPlI4oJSp4Be1ntjAJu9kCkmkngBaKpL76kM0QZwFnUwNv40smFzZqaQPEyULFcyz8ddOG-tPA_-xTE--SJto7Y1aU-mj8_8QCn0wcmWgOEZcOuj4p5HnCZSoUpV5iaBD9fbfDfyJnLElfh3YUU9La5iTvr_m1SnRSk9--gVy0

The red nodes are poorly placed.

What I understood and please correct me if I am not correct on activity diagram we can't alias a container.

So I guess to be able to use 

  • note left of 
  • note right of 
  • note top of 
  • note bottom of

We need to alias containers.

another issue That I see in a  container annotation is that WHERE do we place the annotation ?

Indeed, the container can be BIG so left right top bottom can help for sure but will be not enough. Users will want to have better control of where it appears.

Does the Plantuml team is aware of Pikchr?

here is the grammar : https://pikchr.org/home/doc/trunk/doc/grammar.md

Plenty of good ideas out there. 

Hope it helps.

Kasra

Your answer

Your name to display (optional):
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.
...