4

I'm currently working on a .xml to .uml diagram converter, but you may also add relations/attributes/operations and change pretty much everything. but drawing multiple arrows between 2 classes would cause one to override the other one pretty much, i guess that's not the intention

Is that allowed by UML? Because i can not really find an example on the internet.

asked Apr 1, 2017 at 15:21

1 Answer 1

6

Yes, of course you can have several association between two classes.

You can find a practical example here, where an account has borrowed or reserved books.

For the more theoretical aspect, you need to understand that for a class C, every attribute A has a type T, and that this attribute could be replaced in the diagram with an association of C with class T (the name of the attribute being shown on the T side of the link):

enter image description here

answered Apr 1, 2017 at 16:03
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.