Are my class diagrams Correct?

575 views Asked by At

I've made two class diagrams. But I am not sure if they are correct or not. These classes were in the same package and I used Visual Paradigm for making the class diagrams. However, I couldn't make one ReadOutputFileforBreastAndColonCancer class for both WeakSignalFilter class and StrongSignalFilterClass.

Therefore, I had to make two different class diagrams. Is it correct? Can I do it. Help will be much appreciated.

enter image description here

1

There are 1 answers

0
ycsun On BEST ANSWER

Please refer to VP's support page, Creating class diagrams. First create the StrongSignalFilter class, then click its Aggregation -> Class resource beside it and drag to empty space of the diagram to create the ReadOutputFileforBreastAndColonCancer class. Next create the WeakSignalFilter class. Finally the crucial step: click the Aggregation -> Class resource beside the WeakSignalFilter class, and drag to the ReadOutputFileforBreastAndColonCancer class. This is how to create an association between two existing classes. And of course you can also create the three classes first before creating the two aggregrations.