Book a Demo

Author Topic: Communication Diagram - Messages Ordering and Size  (Read 9356 times)

bh.yokoyama

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Communication Diagram - Messages Ordering and Size
« on: April 13, 2006, 06:15:26 am »
I have a few questions about messages auto-ordering and sizing(or format) within a communication diagram.

1) The EA auto-ordering handles 2-level depth groups of messages (e.g.: 1, 1.1, 1.2, 2, 2.1, 2.2). I know that it´s possible to work with more than two level of nested messages using the "Diagram/Sequence Communication Messages" (e.g.: 1, 1.1, 1.1.1, 1.1.2). But is there a way to get this feature done automatically when I´m drawing the diagram instead of having to use the "Sequence Communication messages" dialog later?

2) The messages are drawn as a single line. If I get a method with a large name and lots of parameters, the line gets too long and it may became hard do fit it into the diagram without affecting the overall picture. Is there a way to "break" the message in lines? For example:

aMethodWithLongName( paramater1,parameter2,parameter3 )

broken (or reformated) into:

aMethodWithLongName( paramater1,
                                       parameter2,
                                       parameter3 )

Thanks in advance!

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: Communication Diagram - Messages Ordering and
« Reply #1 on: April 17, 2006, 11:56:23 am »
1)  You can click the Start New Message Group button while you are adding them.

2)  Just click on the text and resize the box to be the size you want the text to be.  Make the box taller to allow multiple lines to fit and the text will automatically wrap to the width you set the box to.

bh.yokoyama

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Communication Diagram - Messages Ordering and
« Reply #2 on: April 17, 2006, 12:25:58 pm »
TrtnJohn,

Thanks for your response!

I had already tried what you´ve suggested. The point is:

1) Whenever you start a new message group, EA will start a new first-level message group. That is: If you have just added a message numbered 1.2 and starts a new message group, EA will automatically number it 2 instead of 1.2.1. I didn´t see in the dialog box a way to tell EA to start a new sub-group from the current group instead of a sub-group from the first-level group.

2) I click on the text, but the box cannot be resized. I´m only allowed to move the box around.

Do you know of any configuration that might help me out of this?

Thanks!

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: Communication Diagram - Messages Ordering and
« Reply #3 on: April 18, 2006, 09:54:08 am »
1)  I see.  I don't know the answer there

2)  You just need to resize the box by grabbing one of the corners.

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Communication Diagram - Messages Ordering and
« Reply #4 on: April 18, 2006, 03:59:26 pm »
Quote
is there a way to get this feature done automatically when I´m drawing the diagram instead of having to use the "Sequence Communication messages" dialog later?


No, but I tend to rough out the entire message sequence first then add the structuring from the menu action later.

hth
bruce


Have had a bit more think about this.  I reckon moving the message order manipulator into a dockable floater (like Notes, tags, etc) and putting some effort into making it more useable would be a worthy Sparx goal.
---> adding to Suggestions & Requests   ---->done
« Last Edit: April 18, 2006, 04:23:57 pm by sargasso »
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

bh.yokoyama

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Communication Diagram - Messages Ordering and
« Reply #5 on: April 18, 2006, 06:08:44 pm »
Quote

2)  You just need to resize the box by grabbing one of the corners.


The only possible action allowed by EA is to move the message around. When I clink on the message, a box is drawn around it and there is no way I can pick one of the corners. The only operation allowed is the one provided by the four direction arrows icon. I even tried to zoom in (who knows? Perhaps I´m not that acurate using the mouse...).  In the sequence diagram it works fine, but not in the communication diagram.

Thanks again!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Communication Diagram - Messages Ordering and
« Reply #6 on: April 19, 2006, 04:14:02 am »
A bit of a long shot here, but something like this below was making it difficult to manipulate sequence diagrams. I'm grasping at straws here, so please accept my apologies if I'm off base.

Is there any chance that EA is not associating your mouse clicks with the appropriate link, but instead 'seeing' them as being on a nearby element or the diagram background?

After some users reported problems selecting and moving lifelines - EA often interpreted attempts to select as clicking on other elements nearby - Sparx adjusted the criteria for selecting a line in Build 787:
Quote
Width of Lifeline "hit test zone" reduced to allow finer selection and discrimination between lifelines and other "decorations"


Would (could?) something like this possibly help you grab the message link? [It might not be quite the same but it seems like you aren't actually selecting the message itself. Hard to be sure without seeing it on your desktop though...]
No, you can't have it!

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: Communication Diagram - Messages Ordering and
« Reply #7 on: April 20, 2006, 12:21:01 pm »
Quote

The only possible action allowed by EA is to move the message around. When I clink on the message, a box is drawn around it and there is no way I can pick one of the corners. The only operation allowed is the one provided by the four direction arrows icon. I even tried to zoom in (who knows? Perhaps I´m not that acurate using the mouse...).  In the sequence diagram it works fine, but not in the communication diagram.

Thanks again!


Oops.  Sorry, the text I was resizing on one of my communications diagrams was the Link Name not the Message text itself.  I see what you are saying now ...

bh.yokoyama

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Communication Diagram - Messages Ordering and
« Reply #8 on: April 26, 2006, 06:14:30 am »
Thanks to you all!

Regarding the message text resizing in the communication diagram, I believe it is not an available feature. I´ve sent an e-mail to the Support and will keep you updated.