Re: Normal way to visualize the structure of a program source-code?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear Pooya

a) How can I add the minimum and maximum numbers on the lines between two classes, like (0,1) or * (see 
http://upload.wikimedia.org/wikipedia/commons/0/03/Klassendiagramm-1.png)

Use the Aggregation line. There are multiplicity fields for each side in
the Context menu of that element.

Yes, this works like a charm. But how can I have the lines on both sides of the rhomb-symbol?
Or does one line on one side make no difference in the UML-Semantic?

I am not entirely sure if I understand what you are trying to do.
The rhombus on one side of an association between two classes can
not have lines on two sides. It is used to mark one of the two (or
more) ends of an association.

However there is another rhombus used to specify branches (and
merges) in activity diagrams. This is a separate element available
in the Dia UML shapes.

b) Is there a special double line available in the UML-Sheet, which presents the "must exist" relation 
between two classes?

I am not aware of such a shape.

Hmm..Ok..I wonder, because I was given a diagram, in which this shape ( two parallel lines ) was used.

It could be the "Participation" element from the ER shapes (with the
option Total = yes). However, to my knowledge that sort of line is
not part of the standard visual representation of UML.

Best Regards,

Thimo Langbehn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEAREKAAYFAkzC0YIACgkQLoHAUMxCwiW0XgCgi38Dgc23Eslb/Jqwh6dkS520
ZlYAoMdENUmXIhfehq5TBwsiKopVQr18
=8YtT
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]