How I can use allow_mixing to combine elements?

0 votes
asked Jun 4 in Question / help by anonymous
I am new with Plantuml and I am exploring the field, I wanted to mix a class with a state but I got the error saying "Use allow_mixing if you want to mix classes with other UML elements, but I dont find documentation to see how to use allow_mixing, somebody can help me?

Thanks

1 Answer

0 votes
answered Jun 8 by mgrol (2,560 points)

Hi,

just add it after the @startuml

@startuml
allow_mixing
class foo1
node node2
artifact artifact3
database database4
@enduml

See here for the example

Please note also this http://forum.plantuml.net/7728/allow_mixing-doesnt-work-with-sequence-diagram

BR,

Michael

...