Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: Sean on December 14, 2010, 12:19:32 pm

Title: Extending sequence diagram over multiple pages?
Post by: Sean on December 14, 2010, 12:19:32 pm
Hi,

What is the best way to use EA if I would like to create a sequence diagram that extends over more than one page? At the moment the lifelines just run over to the next page, without carrying over their header information.

I've tried using an Interaction Occurence that links from the preceding page to the following, and vice-versa from the following, but ideally I'd just like the lifeline header boxes to recur at the top of the following page in a way that indicates that they are merely continued from the preceding page.

Is that possible; and/or are there better ways of doing this?

Cheers,
Sean
Title: Re: Extending sequence diagram over multiple pages
Post by: Geert Bellekens on December 14, 2010, 07:53:05 pm
Quote
or are there better ways of doing this?
The only advice I can give you is not to make such large sequence diagrams.
I try to impose a limit of 15 messages to my analysts.

Geert
Title: Re: Extending sequence diagram over multiple pages
Post by: philchudley on December 14, 2010, 08:06:47 pm
Hi

Try this.

1) On the diagram drawing page you can see the outline of the page boundary.
2) Place one element eitherside of the page boundary
3) Draw a connector between them (try an association to test this out)
4) Using CTRL + Left Mouse Click, place two "bend points" on the assoication, such that the bend points are either side of the page boundary
5) You now have an association which has three segments. (i.e two bend points between the elements)
6) Right-click on the middle segment and selecte "Supress line segment" and there you have two connectors  .... one on each page
7) Double click one half of the association, to give it a name, and hence label the connectors

THis is far far quicker to do than to try and describe in text.

Give it a try!  :)

Cheers

Phil
Title: Re: Extending sequence diagram over multiple pages
Post by: philchudley on December 14, 2010, 08:10:35 pm
Oops! Should have read the post more carefully before replying! The technique I just described works ... but (there is always a but) .... will not work for sequence diagrams  >:(

The only method I have used to paginate sequence diagrams is by Interaction Occurrences and ref lifelines

Anyway, hope you still find the previous tip useful

Cheers

Phil
Title: Re: Extending sequence diagram over multiple pages
Post by: philchudley on December 14, 2010, 10:50:26 pm
Just had another thought

It is possible to split a message across a page boundary by ending / starting at a Gate. However, it is not possible to align the Gates horizontally, the entry gate will always be below (or above) the exit gate. AlthoughI did manage to get them pretty close to horizontal

Cheers

Phil