uml - what is the difference between inheritance and collaboration diagrams? -


i've generated doxygen documentation llvm using python-sphinx. i'm not @ uml. understand inheritance diagrams, i'm not clear collaboration diagrams. explanations found online not clear.

i'd appreciate if show difference between 2 using specific example.

there no "inheritance" diagram. guess mean class diagram can see inheritance drawn line hollow triangle. static display of class model. shows methods , attributes of classes how classes related each other (not generalization kinds of dependencies).

a collaboration diagram behavioral part. there 2 exchangeable versions: communication , sequence diagrams. while first puts focus on "which object collaborate in use case" sequence puts focus on "which messages exchanged in order" scenario. both use messages , can convert 1 other.

to true, there more above. important when start.


Comments