M
M
MrShaggy2017-02-15 17:36:08
Java
MrShaggy, 2017-02-15 17:36:08

UML Class diagramms - how to show that some classes are in a different directory?

Good day!
I decided to make a Class diagram for my already existing project. I am using starUML.
The structure of the program is as follows: there is a main directory and a subdirectory in it. Classes in the main directory have link(s) to classes in the subdirectory.
Question: How to depict not only the relationship between classes, but show that some of them are in a different directory?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pi314, 2017-02-23
@DrNefario

With the help of the package element, of course ! In UML, this is an abstraction, in principle, for grouping anything, but it, in particular, corresponds to the 1: 1 semantics of package in Java, which, in turn, corresponds to which folders of the file system the classes are in))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question