ObeoNetwork / UML-Designer

OpenSource (EPL licensed) UML2 Graphical Modelers (Class, Composite, State, Activity, Sequence ...)
http://umldesigner.org
320 stars 123 forks source link

Root diagram container in state and activity diagrams complicates workflow #897

Closed tjallingran closed 7 years ago

tjallingran commented 7 years ago

Activity diagrams and State diagrams have a root element that represents the Activity / State Machine.

This root element acts as a container in which all Actions / States, etc. must be located. This container is editable, in the sense that it can be moved across the diagram, resized, etc..

This 'editability' is often undesirable. It makes drag-select difficult. Drag-select is done by holding the left mouse button and then dragging a selection rectangle around the objects one wants to select. However, because the root element is editable, clicking the mouse left mouse button and moving the mouse, results in moving the root element around.

The workaround is drag-selecting from the background, but usually I work with a root element that is large enough to cover my entire screen, so I have to zoom out to do this. And even then, it forces the drag-selection to start at the edge of the root element.

Possible solutions:

AxelRICHARD commented 7 years ago

Hi,

You can "drag-select" elements inside a container via the Alt key. Is it suitable for you ?

Best regards

tjallingran commented 7 years ago

That sounds like a workable solution, thanks for the tip! Could this info be added to the documentation? E.g. somewhere on http://www.umldesigner.org/ref-doc/define-the-application.html#Activity_Diagram ?

That said, it still seems a bit inconsistent to me that the root of these diagrams is different than, e.g. Class diagrams. Maybe that has to do with technicalities of the UML standard that I'm not aware of?

AxelRICHARD commented 7 years ago

No this is a decision of ours, there are no technicalities reasons to do that. Thanks for raising the problem and for your time !