Class Diagram - is `together` keyword supported?

0 votes
asked Sep 22, 2023 in Question / help by Ryszard
I am a newbie,

While working on my very first UML class diagram (using online tool in the Firefox on Ubuntu 20.04),

Getting a syntax error while trying to "group" classes using `together` at the very end of the script:


. . .
/' - does NOT work:
  ` RuEventType
  ` ConnectArgs
  ` RuStateType
} '/

NOTE: Added elements are in <back:Chartreuse> Green
end legend



Even the empty list causes the error

Any suggestions?


1 Answer

0 votes
answered Sep 22, 2023 by The-Lu (67,040 points)

Hi R., and all,

You must use class, entity, or... name with together, as:

class RuEventType {
field a

together {
  class RuEventType
  class ConnectArgs
  class RuStateType

NOTE: Added elements are in <back:Chartreuse>Green
end legend

If that can help,