Hi all,

I have been looking at the sequence diagrams (as currently
implemented) to try and work out what is there, and how to use them.


Usage
-----------

Basic usage is something like this:

1. Create a new sequence diagram.
2. Add a new Classifier Role to the diagram. (set a name in the
properties window)
3. In the base section of the properties window for the Classifier
Role, right click and select add and select the class from the
available list.
4. Repeat steps 2 and 3 as appropriate.
5. Select a message line (create, destroy, call, return), click on the
life line of the sending Classifier Role and then click on the life
line of the receiving Classifier Role. (set a name in the properties
window).
6. Rinse, and repeat as necessary.

(something like this should be added to the documentation - but
written in a better way!)

Does that sound about right to those of you who currently use sequence diagrams?


Following from this, I think I've discovered a couple of issues:

1. No ability to drag a class onto the diagram. This would
automatically add a new classifier role, and associate it with the
dropped on class. Could also consider dropping a class onto a
classifier role to associate it.
2. No ability to drag an actor onto the diagram. This would
automatically add a new classifier role, and associate it with the
dropped on actor. Should this have a different icon? Should only be
allowed as the initiating role in the diagram.
3. A class can only belong to one classifier role on a diagram. A
class may need to fulfil several roles on the same diagram (albeit as
separate instances).
4. Unable to associate the messages to operations in the classes. Code
generation (?)
5. Can't always create a message call. Seems to be related to the
granularity of the life line.
6. Documentation. There isn't any! ;)


There may be other issues, but these are the ones that strike me right
now. Should these be raised in the issue tracker?

Unless anyone can see anything drastically wrong with my list, I will
start trying to work out how to address them in the current code base.
For now, I will try and just 'fix' the existing code rather than
starting afresh.


lee

--

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to