Re: Subtle improvement to sequence diagrams....Re: Web based sequence diagram generator
- From: steve.hanov@xxxxxxxxx
- Date: 31 Mar 2007 09:11:20 -0700
John, that's a really great idea. Concurrency isn't really something
that's emphasized with these types of diagrams, but it impacts every
system and causes bugs. I've added it to the list of things to do.
Also last night I added styles, so the output can look like rose,
quick sequence diagram editor (qsd) or mscgen. You can also do object
activation, deactivation, and destruction.
On Mar 27, 1:20 am, John Carter <john.car...@xxxxxxxxxx> wrote:
On Mon, 26 Mar 2007 16:30:03 -0700,steve.hanovwrote:
I made this because I have to draw a lot of sequence diagrams at work, for
documentation. We have special MS Visio templates for UML but they are not
fun to use.
Now I just type into my tool at:
http://gandolf.homelinux.org/~smhanov/mscdraw/index.php
Then it spits out the image, which I copy and paste into my documents.
Cool!
Suggestion...
Make the horizontal event lines with a gentle downward slope...
Instead of...
|--------------->|
Something like so (but perhaps a gentle 20 degrees instead of the
45degrees forced by ascii art)...
|\ |
| \ |
| \>|
Why? Because its a gentle reminder about the speed of light and latencies
in communication systems.
When people draw horizontal event lines they mistakenly think the creation
of the event and the reception of the event is instantaneous.
When the lines are gently sloping it reminds you... Hey! Between the left
of the arrow and the right, is a space of time during which another arrow
may be coming back at me....
|\ /|
| \ / |
| X |
| / \ |
|< >|
And whenever I can draw a diagram with crossing event lines like that, I
know I have a rich and fertile soil in which to go hunting race conditions
and deadlocks.
And boy oh boy whenever I have gone looking, I have many such subtle bugs
in the code of those who draw event lines horizontally!
--
John Carter Phone : (64)(3) 358 6639
Tait Electronics Fax : (64)(3) 359 4632
PO Box 1645 Christchurch Email : john.car...@xxxxxxxxxx
New Zealand
.
- References:
- Web based sequence diagram generator
- From: steve . hanov
- Subtle improvement to sequence diagrams....Re: Web based sequence diagram generator
- From: John Carter
- Web based sequence diagram generator
- Prev by Date: Re: Use Cases
- Next by Date: Re: Metaphor-oriented programming
- Previous by thread: Subtle improvement to sequence diagrams....Re: Web based sequence diagram generator
- Next by thread: Re: Web based sequence diagram generator
- Index(es):
Relevant Pages
|