In Dia, by default (at least on Debian Wheezy out of the box) the lines representing the associations between two classes are not straight but follow the grid. Is there a way to make the association lines between classes in dia straight?
At the left side menu all symbols will be there. In the drop down menu, select "other sheets" → "flow chart". You will get a straight line.
A directed association indicates that control flows from one classifier to another; for example an actor to a use case. This flow of control means that only one of the association ends specifies navigability. If you use association end names, you do not typically need to name an association.
What is Dia? Dia is a drawing program that can be used to create diagrams. Dia includes a variety of basic tools like lines and boxes and can load “sheets” – collections of tools that are used in a specific type of diagram. Most diagram objects have handles to which lines can be connected to form graph structures.
In the UML symbol sheet, the Association symbol is a zig-zag, meaning it will only ever move orthogonally to the sheet. Depending on whether you're using all of the features of the Association symbol (multiplicity, label, etc), you could use the standard Line symbol in its place. The Line symbol (L) can be given the necessary beginning and end diamonds or arrows and you can attach a Text element to the line. What you mostly miss out on is the multiplicity labels on either end of the line (though it would seem those would be less valuable if your line was diagonal).
I hope this helps and is acceptable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With