This example from the pdf-guide (3.9 More on notes) throws an error, "Not known Object", with plantuml-1.2023.6beta5.jar
@startuml
class Foo
note left: On last defined class
note top of Object
In java, <size:18>every</size> <u>class</u>
<b>extends</b>
<i>this</i> one.
end note
note as N1
This note is <u>also</u>
<b><color:royalBlue>on several</color>
<s>words</s> lines
And this is hosted by <img:sourceforge.jpg>
end note
@enduml
The script below throws the same error (with plantuml-1.2023.6beta5.jar) but works as expected with plantuml-1.2023.0.jar
@startuml
namespace P1 {
note left of C1
This is a note on C1
end note
class C1
}
@enduml
The script below produces the expected result with both plantuml-1.2023.6beta5.jar and plantuml-1.2023.0.jar
@startuml
namespace P1 {
class C1
note left of C1
This is a note on C1
end note
}
@enduml
Thus the question: Should the order between the 'note left of C1' and the 'class C1' statement matter?
/poi