Discussion:
Use Case Diagrams
David Herron
2002-06-20 17:29:00 UTC
Permalink
I just got OmniGraffle last night ... I'd kicked the tires a bit about a
month ago, and decided to buy in last night, with the pressing need being
to draw a use case diagram for a project I'm beginning.

I'd remembered that OmniGraffle had UML charting built in. Since Use Case
diagrams are one of the UML charts, I'd presumed that the built in UML
templates would include the Actor and Use Case objects. Well, it doesn't.

I'm glad that building a template file was very easy, and dropping the
file into the OmniGraffle preferences directory was very easy, and was
recognized immediately (didn't even have to reboot the application).

So, how can you claim to support UML if you don't include Use Case Diagram
or Sequence Diagram symbols?? Yeah, okay, you've got some of the other
symbols used in charts like Class Diagram, Deployment Diagram, etc, but
the Use Case and Sequence diagrams are the ones I find so helpful.

In any case, I'd love to share the thing I put together last night.
I found it useful, and was quickly able to make a rather comprehensive use
case diagram for my project, and went to sleep very happy.

There's only one question I have. To construct the Actor, I put together
an object with two levels of grouping. The stick figure is one set of
objects, grouped together, and then I placed a text object under that and
grouped them together. I can place the Actor object easily on the diagram
and resize it to my hearts content. But to edit the text label, I have to
ungroup the object, edit the text, and then regroup it. This isn't
exactly the smoothest operation.

It would be better to have it so a grouped object can have an attached
label that is connected to the grouped object but not as part of its
grouping.

The other difficulty was - while creating the stick figure, well, how do
you make the legs so they look right? They need to be the same length,
and at the same angle, but mirror image of each other, yes? So I drew one
leg, and then duplicated it, expecting I could find a ROTATE operation
somewhere in the application. There are ROTATE operations in other
similar software such as photoshop, fireworks, paint shop pro, and
illustrator, so why not here. Well, there isn't such an operation (that I
could find) and after a moments of frustration I got on with the job and
drew the other leg as best as I could.

Similarly getting the arms to look right was tricky. Each arm should be
the same length. Fortunately it's just one line drawn across, so it was
just a matter of playing with the endpoints and placement until it looked
right. But maybe the program could provide a helper of some kind to help
centering an object around another one.

- David
Jesse James Garrett
2002-06-20 17:45:02 UTC
Permalink
Post by David Herron
But to edit the text label, I have to
ungroup the object, edit the text, and then regroup it. This isn't
exactly the smoothest operation.
With the pointer tool selected, double-clicking any text, whether in a group
or not, allows you to edit that text. With the text tool selected, a single
click does the same thing (though it would be nice if Graffle gave me some
sort of indication that I'm about to edit an existing object rather than
adding a new one).
Post by David Herron
There are ROTATE operations in other
similar software such as photoshop, fireworks, paint shop pro, and
illustrator, so why not here.
Try Tools > Info Panes > Size. Here you can either free-rotate the object,
or just mirror it with the Flip buttons.
Post by David Herron
But maybe the program could provide a helper of some kind to help
centering an object around another one.
Try Tools > Info Panes > Align. You should find everything you need there.


___________________________________________________________________________
Jesse James Garrett I'm not ignoring you, I'm just writing my book:
***@jjg.net http://www.jjg.net/elements/
Erik Price
2002-06-20 18:45:15 UTC
Permalink
Post by David Herron
There are ROTATE operations in other
similar software such as photoshop, fireworks, paint shop pro, and
illustrator, so why not here.
I'm not any kind of official on the subject, but my impression of OG is
that it's best for helping build structures and that complex (or not so
complex in the case of a UML Actor) components are best if built in a
graphics application and then imported.

Personally, I'd like to keep OG at the nice low price it is now, and
leave complex drawing/painting features in the $500 graphics suites,
than have OG become a Freehand clone that's good at making diagrams.

BTW, thanks for the tips on how you did it. I'm just learning UML right
now so I haven't really done any modelling with it yet. But I too am
interested in hearing Omni's response about the missing Use Case diagram
and Sequence Diagram symbols.



Erik


----

Erik Price
Web Developer Temp
Media Lab, H.H. Brown
***@hhbrown.com
Listera
2002-06-20 19:51:00 UTC
Permalink
...if built in a graphics application and then imported.
When the bounding box problem is solved, that is :-)

g/d
TREPANIER, ERIC
2002-06-21 16:27:12 UTC
Permalink
Here's the palette I put together for doing Use Case diagrams.

I'd be curious to see what yours (or anybody else's) looks like.

I also see the same problem as you, I don't know what to do to get a Label
box attached to my actor diagram so that I can just drag an actor from the
palette on a new diagram, select the actor and start typing to enter a label
for it. Right now, I have to add a disconnected text label using the text
tool and group it with my actor every time.

I'd be happy to hear suggestions or ideas on how to do this better...

Eric
Post by David Herron
I just got OmniGraffle last night ... I'd kicked the tires a bit about a
month ago, and decided to buy in last night, with the pressing need being
to draw a use case diagram for a project I'm beginning.
I'd remembered that OmniGraffle had UML charting built in. Since Use Case
diagrams are one of the UML charts, I'd presumed that the built in UML
templates would include the Actor and Use Case objects. Well, it doesn't.
I'm glad that building a template file was very easy, and dropping the
file into the OmniGraffle preferences directory was very easy, and was
recognized immediately (didn't even have to reboot the application).
So, how can you claim to support UML if you don't include Use Case Diagram
or Sequence Diagram symbols?? Yeah, okay, you've got some of the other
symbols used in charts like Class Diagram, Deployment Diagram, etc, but
the Use Case and Sequence diagrams are the ones I find so helpful.
In any case, I'd love to share the thing I put together last night.
I found it useful, and was quickly able to make a rather comprehensive use
case diagram for my project, and went to sleep very happy.
There's only one question I have. To construct the Actor, I put together
an object with two levels of grouping. The stick figure is one set of
objects, grouped together, and then I placed a text object under that and
grouped them together. I can place the Actor object easily on the diagram
and resize it to my hearts content. But to edit the text label, I have to
ungroup the object, edit the text, and then regroup it. This isn't
exactly the smoothest operation.
It would be better to have it so a grouped object can have an attached
label that is connected to the grouped object but not as part of its
grouping.
The other difficulty was - while creating the stick figure, well, how do
you make the legs so they look right? They need to be the same length,
and at the same angle, but mirror image of each other, yes? So I drew one
leg, and then duplicated it, expecting I could find a ROTATE operation
somewhere in the application. There are ROTATE operations in other
similar software such as photoshop, fireworks, paint shop pro, and
illustrator, so why not here. Well, there isn't such an operation (that I
could find) and after a moments of frustration I got on with the job and
drew the other leg as best as I could.
Similarly getting the arms to look right was tricky. Each arm should be
the same length. Fortunately it's just one line drawn across, so it was
just a matter of playing with the endpoints and placement until it looked
right. But maybe the program could provide a helper of some kind to help
centering an object around another one.
- David
_______________________________________________
OmniGraffle-Users mailing list
http://www.omnigroup.com/mailman/listinfo/omnigraffle-users
--
Eric Trepanier
Senior Consultant, CGI Services to BCE
(514) 878-8700 x1488
***@cgi.ca
TREPANIER, ERIC
2002-06-21 19:53:02 UTC
Permalink
Post by TREPANIER, ERIC
Here's the palette I put together for doing Use Case diagrams.
How typical of me. I forgot the attachment. Here it is.

Eric

Continue reading on narkive:
Loading...