nus-cs2103-AY2122S1 / forum

18 stars 2 forks source link

Question on navigability #444

Open knotstoks opened 3 years ago

knotstoks commented 3 years ago

For this question: image

why is there no arrowhead (shown in the red box) from Activity to itself?

image

qinguorui2001 commented 3 years ago

can be omitted as well

damithc commented 3 years ago

why is there no arrowhead (shown in the red box) from Activity to itself?

@knotstoks We don't have information about the direction of the navigability of that association.

s7u4rt99 commented 3 years ago

@knotstoks We don't have information about the direction of the navigability of that association.

Hi prof, just wondering, even if we do have the direction of the navigability of the association, and it happens to be from the part(sub activity) to the whole(main activity), how do we draw the arrow since there is a diamond there? Is it possible for this case to happen? And if it does, can we just omit it since its hard to draw?

damithc commented 3 years ago

Hi prof, just wondering, even if we do have the direction of the navigability of the association, and it happens to be from the part(sub activity) to the whole(main activity), how do we draw the arrow since there is a diamond there? Is it possible for this case to happen? And if it does, can we just omit it since its hard to draw?

@knotstoks You can use the following:

[ClassA]<><----[ClassB]

s7u4rt99 commented 3 years ago

[ClassA]<><----[ClassB]

I see, thanks prof!