Anyone knows a good UML application?

Discussion about everything. New games, 3d math, development tips...
KP84
Posts: 44
Joined: Thu Feb 24, 2011 5:08 am

Anyone knows a good UML application?

Post by KP84 »

Doesn't have to be overfeatured but would like it to be open source and free.

Code doesn't have to be generated

EDIT: To create a diagram for class, enum etc. of course
EDIT: original question/subject 'Anyone knows a good diagram application?'
Last edited by KP84 on Wed Mar 09, 2011 8:03 am, edited 1 time in total.

Code: Select all

// if you think real code is always interresting, read this line again
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

what do you mean by diagram application ?
Something like Umbrello? http://uml.sourceforge.net/
Working on game: Marrbles (Currently stopped).
random
Posts: 158
Joined: Wed Aug 11, 2010 6:01 am

Post by random »

http://meesoft.logicnet.dk/DiagramDesigner/ also free and simple

http://www.visual-paradigm.com/solution/freeumltool/ a little bit ore professional and free for non commercial use

http://en.wikipedia.org/wiki/List_of_UML_tools a comparsion...

anyway i personaly use the first from up above, it is just used to to make a raw plan, uml to code reraly sounds good but if you whant something like that you may want to use

http://www.radgametools.com/granny.html

but free is something else :)
KP84
Posts: 44
Joined: Thu Feb 24, 2011 5:08 am

Post by KP84 »

serengeor wrote:what do you mean by diagram application ?
Something like Umbrello? http://uml.sourceforge.net/
It's what I am looking for although for Windows. Umbrella seems to be for Windows too but seeying the documentation (and dates) I don't think the Windows part is finished.

Also i don't see a download for Windows.

EDIT:
@random: Okay will check those out too

Code: Select all

// if you think real code is always interresting, read this line again
greenya
Posts: 1012
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine
Contact:

Post by greenya »

I use Dia, http://en.wikipedia.org/wiki/Dia_(software).
There are versions for Linux and Windows.
KP84
Posts: 44
Joined: Thu Feb 24, 2011 5:08 am

Post by KP84 »

random wrote:http://www.radgametools.com/granny.html

but free is something else :)
uhuh free is something else indeed. Didn't even bother to look at what version or whatever wich price has. Four figures where the first starts with a 6, nevermind.

Did give me an idea though, create one myself using Irrlicht :D .

The others are not open source. On to the wiki list.

Thanks, serengeor too

Code: Select all

// if you think real code is always interresting, read this line again
REDDemon
Developer
Posts: 1044
Joined: Tue Aug 31, 2010 8:06 pm
Location: Genova (Italy)

Post by REDDemon »

it would nice something that creates some headers starting from a UML diagram. This will save lot of time when writing the same things (guards, constructor etc.).
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
KP84
Posts: 44
Joined: Thu Feb 24, 2011 5:08 am

Post by KP84 »

Once I knew what I was looking for I found 'QM™ Graphical Modeling Tool'. Not open source though.

Still from all above I fancy Umbrella I think. But can't find out how to use it.

Can only find .tar.bz2 and/or .tar.gz for Dia (direct link), same as Umbrella. Am I missing something and can these be used by Windows?

Thanks greenya

Code: Select all

// if you think real code is always interresting, read this line again
KP84
Posts: 44
Joined: Thu Feb 24, 2011 5:08 am

Post by KP84 »

REDDemon wrote:it would nice something that creates some headers starting from a UML diagram. This will save lot of time when writing the same things (guards, constructor etc.).
For this just create an empty template, and copy it just in the folder then rename and copy the (class/file)name and drag&drop it to your project. Open, double-click class name and hit CTRL+H hit tab type cNewName and hit 'replace all'. Well for MSVC, process of 3 to 4 secs.

Code: Select all

#ifndef cNothing_h
#define cNothing_h

class cNothing
{
  cNothing();
  virtual ~cNothing();
};

#endif // cNothing_h

Code: Select all

// if you think real code is always interresting, read this line again
REDDemon
Developer
Posts: 1044
Joined: Tue Aug 31, 2010 8:06 pm
Location: Genova (Italy)

Post by REDDemon »

i know that, i already doing something similiar with codeblocks shortcuts.

I mean that designing C++ classes is just a relational matter. A UML diagram can be translated to C++. Why i can't find tools that do that?

there are lots of advantages starting from a diagram (there are tools for generating diagrams from C++ for example). auto-inclusion of stricly needed headers, better general design in lesser time, auto assign namespaces without using "using namespace" directive (ex. irr::u32).

templates are not very flexible for example if you must mark for use a class of wich you need just the pointer in the header nad the right inlcude directive in the .cpp file.

Some other advantages can be smart code completion, if you change a name in the diagram, all names in the source files can be smartly changed. Drag n drop relation make immediatly generating source code corretly then you just need to fill.

Auto assign "const" attribute where needed (does this method modify..?)

make correct derivated classes (creates all virtual methods prototypes and definition, a good compiler will cut'em if not used or not filled with any code).

some questions can better come in your mind when designing throught diagrams instead of writing code.

EDIT:
Found it:

http://samparkh.com/dzine/index.html

also BOUML seems to be good

it does not have all the features i was looking for but seems to have lots of good features. I needed only to know the right key word for make a google search (I don't know that CASE stands for computer aided software engineering)
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
greenya
Posts: 1012
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine
Contact:

Post by greenya »

KP84 wrote:Can only find .tar.bz2 and/or .tar.gz for Dia (direct link), same as Umbrella. Am I missing something and can these be used by Windows?

Thanks greenya
Here you can get Windows version of Dia
http://dia-installer.de/
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

I always use Visual Studio for UML modelling. Free for me since I use Visual Studio anyways ;)
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
KP84
Posts: 44
Joined: Thu Feb 24, 2011 5:08 am

Post by KP84 »

@REDDemon

Think also, prior to using it, using any diagram application will help visualize the architecture so you know what operations go where. Wich should be shared. When you need an additional class to be embed into several other classes. For larger projects you really need some help so the overview stays smaller.

Can't find the source Dzine though.

@greenya

Ah cool, thanks. Although I don't need a lot of features, Dia won't do it for me as I would like to have inherited prop/funcs.

@Sylence

Ah bummer, I need another version than Express.

Code: Select all

// if you think real code is always interresting, read this line again
KP84
Posts: 44
Joined: Thu Feb 24, 2011 5:08 am

Post by KP84 »

@greenya:

And Dia it has become 8)

@All

Thanks

[edit]typo fix[/edit]
Last edited by KP84 on Mon Mar 14, 2011 7:34 am, edited 1 time in total.

Code: Select all

// if you think real code is always interresting, read this line again
hayate
Posts: 43
Joined: Mon Feb 16, 2009 9:38 pm
Location: Brescia, Italy

Post by hayate »

I found these four:
OpenAmeos
ArgoUML
BoUML
StarUML

All of these seem very nice and offer c++ generator and c++ reverse engineering (from code to UML diagram)

I'm still testing them to choose one
Sorry for my awful english ^_^'
Image
Post Reply