UML - Representing third party libraries in class diagram

2.2k views Asked by At

Could somebody guide me on representing third party libraries in a class diagram.

For instance I am trying to draw a class diagram for my logging functionality. Which internally uses 'log4net' for logging. And I want to represent 'log4net' in my class diagram as a third party library(may be another assembly).

Thanks.

2

There are 2 answers

0
Pawel On BEST ANSWER

Put 'log4net' classes in separate package. Use dependency as the relationship between them.

0
Red Beard On

I agree with Pawel, you have to put the 'log4net' class outside your modelling. According to the tool you use, ouside your model could be in another package, another model, another component.