An oft-wished for feature: Heirarchical diagrams. Suggestions welcome.
From: RittervomNie web de
To: dia-list gnome org
Subject: An oft-wished for feature: Heirarchical diagrams. Suggestions welcome.
Date: Thu, 17 Jun 2004 18:52:39 +0200
Just include diagram nodes into a container figure, calculate it's bounds and
draw some rectangle 'round it. little textbox attached to one of the upper
corners and thats it.
Extend context menus of diagram nodes (nodes in graph theory, classes, use
cases, messages, no associations) by "Add to [list of containers]" and
"Remove from [list of containers]" and it's almost interactive. (Context
menus come from a factory method include in every figure, don't they?)
Why not extending the "Big Package" holding "DiagramFigures" and all necessary
Figures inherit from this abstract class (including context menu)?
Associations are only contained, if one of the ends is attached to a class
and this class contained in a "Big Package".
For sequence diagrams just invert this rule, life lines, foci, destructions,
classes are only contained, if they are attached to a message, that is
contained...makes no sense to include not-attached classes or foci.
(Think I'll have to have a look at the source to use the right classnames)