UML class diagram formatting



Hi all,

I've been working with Dia on UML class diagrams for a while and I would like to suggest a small change.

Currently, all UML class diagrams are scaled to match their contents. I think that using a minimum width for 
these elements would give a much cleaner output as most of the class boxes would have a similar width.

This can be achieved (I think) by a simple change the code of umlclass_calculate_data() [1] by using this 
minimum width to initialize the local maxwidth variable.

Finally, I found another topic about tweaking UML diagrams [2] when looking for earlier posts to this mailing 
list on this topic. One of the final suggestions made in response to that is to add some generic settings for 
UML diagrams (in that case: line width). Has there been any effort in that direction so far? I think such a 
settings 'menu' would be a nice place to put this minimum width as well.

Cheers,
Roel Jordans

[1] http://svn.gnome.org/viewvc/dia/trunk/objects/UML/class.c?revision=4169&view=markup
[2] http://mail.gnome.org/archives/dia-list/2004-July/msg00173.html


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