UML class diagram formatting
- From: "Jordans, R." <R Jordans tue nl>
- To: "dia-list gnome org" <dia-list gnome org>
- Subject: UML class diagram formatting
- Date: Tue, 22 Sep 2009 13:45:35 +0200
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]