Search code examples
umldia

How to draw an Association Class in Dia?


I am using Dia to draw a few simple class diagrams.

However I cannot make an association class (I can't connect a class to an association). Probably the program does not support it natively, but if anyone knows it is possible I'd really be glad, and someone in the future would then find this question and get a clear answer (other sites I found on the web were kinda vague).


Solution

  • Here's what you could do:

    • Make sure that your association is one straight line.
    • On top/below your association, add a standard line object.
    • You'll be able to connect to the middle of the standard line object using a connection line of your choice.