Multiline Note in Activity 2 Beta Digram

0 votes
asked Jul 12 in Bug by Marco
Hello,

does multiline notes work for you in the Activity 2 Beta Digram, like

note as N1

some note

<img:somePicture.jpg>

endnote

1 Answer

0 votes
answered Jul 13 by plantuml (208,820 points)
Yes it does.

You should post a simple non-working example if you have some issues.

Regards,
commented Jul 15 by Marco I

Thanks for response. Here is my example. I also test it on planttext.com. Both single and multiline note provides me the same error as in my local build. Some ideas how to fix it?

@startuml

 start
: root;
 fork
     :first
     fork again
       :second;
     fork again
         :third;
 end fork
 stop


'note as N1
'A multiline
'note
'end note

'note "A single line note" as N2


@enduml

commented Jul 15 by plantuml (208,820 points)

In Activity Diagram beta, you cannot give id to elements.

So you have to use :

http://www.plantuml.com/plantuml/uml/PSv13eD020NGFQVW7BgnHvdew117Q03ZzJibf9koul-t-OjvKR-l3l70X2hYC-oY9-2uQISrZ_VROJaAyOXXLbVXRVxNT6-aoInU4rvutTsf4sSJY4-ZjI4PFg8dyH5MUGlzXHXcBczOHXp3Fm00

@startuml
start
: root;
fork
    :first
    fork again
      :second;
    fork again
        :third;
    note
      A multiline
      note which is working
    end note
    end fork
stop
@enduml

commented Jul 16 by MarcoI
Hello and thanks for the response. This is working, i know. But I like to have a floating note somewahre in the document which not belongs to an item. This note is included from an other file. So this workaround will not use (or I did not find the right way)

Is it also not possible to mix different digrams like an class and this activity digram, or
...