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.
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 theReadOutputFileforBreastAndColonCancer
class. Next create theWeakSignalFilter
class. Finally the crucial step: click the Aggregation -> Class resource beside theWeakSignalFilter
class, and drag to theReadOutputFileforBreastAndColonCancer
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.