Buy

Buy

... or Donate

Donate
Do you invest to your favorite software and help make it better?

Advertisement

Download - Mirrors

Get it from CNET Download.com!

Facebook

Class Diagram

4/1/2011 12:00:15 AM | Dušan Rodina | 5566x

Category: Structure diagram

UML diagram, which describes the structure of a system by showing the system's classes, their attributes, and the relationships among the classes.

The class element consists of three sections:
- Name
- Attributes – represent fields of a class
- Operations – represent methods of a class
The visiblity of attributes and operations can be specified as:
- Private (-)
- Protected (#)
- Package (~)
- Public (+)

Class Diagram Elements

Class Diagram can consist of these types of elements:
-Package
-Class
-Interface
-Enumeration
-Table
-Signal
-Collaboration
-Association (unidirectional, bidirectional, composition, aggregation, and custom ones)
-N-ary association
-Generalization
-Realization
-Dependency
-Containment

Generalization

Add Comment
Multiplicity of attributes 12/14/2011 6:38:03 AM
1 + - 0

I could not find multiplicities of attributes, as you can see here the "1" in [] after heap.

https://ece.uwaterloo.ca/~ece250/Online/UML/UML02.png

Peter Reply
RE: Multiplicity of attributes 12/14/2011 2:58:10 PM
0 + - 0

It is not yet supported. I will add it in version 5.0. The code will be completed this year - I'm planning the release for January 9th, 2012.

Dušan Rodina (author) Reply
Default visibility not working & shortkeys 10/5/2011 2:32:22 AM
0 + - 0

Hello,

We are trying this tool. It looks nice.

I have set the default visibility to protected. But all items in a classdiagram are set to private.

Could this be solved?

Are there any shortkeys for making a diagram. This would be very handy:

- repeat latest class

- repeat latest connector

Greetz, Joly

flexJoly Reply
RE: Default visibility not working & shortkeys 10/5/2011 1:50:49 PM
0 + - 0

Hello,

the default visibility setting has not retroactive effect. It is applied only on newly created items. I could add a command for "batch" change of visibilities.

Thank you for these tips. I'll add key shortcuts for diagrams and also repeat-options in the next major version (5), which should be released soon - I'll finish it within few weeks - certainly this year.

Dušan Rodina (author) Reply
Connecting Generalization LInes 9/7/2011 12:49:28 PM
0 + - 0

How do you make the lines connect like in the picture for the subclasses

TJ Reply
RE: Connecting Generalization LInes 9/7/2011 1:41:43 PM
0 + - 0

You can make it this way:

http://youtu.be/H8TVtQgNJAs

I will try to make it easier in future versions.

Dušan Rodina (author) Reply
reverse engineering 8/11/2011 7:04:47 AM
1 + - 0

Dušan,do you plan to include the reverse engineering capability (C++ to UML) in your software?

denkir Reply
RE: reverse engineering 8/11/2011 2:18:57 PM
0 + - 0

Yes, I plan it. Maybe it will be not in the first release of version 5, but I suppose that this feature appears in one of its minor versions (5.x).

Dušan Rodina (author) Reply
relationship 8/5/2011 6:01:29 AM
2 + - 0

Dušan, I have the following problem. When I open my preliminarily saved class diagram the relations lines & arrows ("use" stereotype) somewhat dislocated. That greatly clutters the plot. Is there any way to fix them? Thank you for your job.

denkir Reply
RE: relationship 8/5/2011 12:20:22 PM
0 + - 0

Were the ends of the relationship properly connected with classes before saving? When the end points are disconnected, they will be connected back after loading. I will change this behavior in the next version - the relation will be adjusted immediately after completing the dragging.

Dušan Rodina (author) Reply
RE: RE: relationship 8/6/2011 10:11:04 AM
0 + - 0

Yes, they were! The problem is that, I have several classes which use the other

class. I connect them by the dependency relation. I put together all the arrows

as if there's only one arrow. That approach orders the diagram. But when I open

my diagram all the arrows don't lie upon the initial arrow. Although the relation

isn't broken between classes...

denkir Reply
RE: RE: RE: relationship 8/11/2011 2:13:18 PM
0 + - 0

In the next release, I'll implement a improvement, which should avoid this problem.

Dušan Rodina (author) Reply
#include 6/28/2011 6:39:37 AM
0 + - 0

Dušan, great job!

How can I get the generated C++ code with #include instruction?

I use a Class Diagram. For example I have 2 classes. What type of connection should I use between 2 classes?

denkir Reply
RE: #include 6/28/2011 12:39:14 PM
0 + - 0

Thank you.

Unfortunately, generation of #include is not you supported. Possibilities of source code generator will be enhanced in the next major version 5.

Dušan Rodina (author) Reply
5/24/2011 1:08:39 PM
0 + - 0

I love SIM Is there any way to remove visibility in the classes?

My lecturer has just pinged me for having + and - in my diagram

Vicki Reply
RE: 5/24/2011 2:05:01 PM
0 + - 0

Thanks.

Unfortunately, it isn't yet possible. However, I can add this option in the next release.

Dušan Rodina (author) Reply
RE: RE: 6/13/2011 3:14:41 PM
1 + - 0

Option for showing/hiding the visibility was added in the new version 4.97.

Dušan Rodina (author) Reply
Generate properties 5/19/2011 8:17:39 PM
0 + - 0

Thanks for this user friendly software. May I know if we are able to add properties instead of public field?

Puah Hock Leng Reply
RE: Generate properties 5/21/2011 12:57:05 PM
0 + - 0

You are welcome.

It is not yet possible, but I plan to add this possibility in version 5.

Dušan Rodina (author) Reply
Creating a class diagram from a schema 10/26/2010 9:44:03 PM
2 + - 1

First, thank you very much for allowing us to use this great software. Excellent job guys!!

I was wondering if there is a way to import the data and relations from a schema or from a text based file to create the appropriate class diagram. As of now, i am copying and pacing the attribute into each class !! and it is a tedious process :)

Thank you all

Mostafa Karkache Reply
< 1 2 3 >