Author Topic: how to split a sequence diagram  (Read 9595 times)

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
how to split a sequence diagram
« on: January 07, 2014, 10:21:04 pm »
Hi
I have a large sequence diagram and am looking for a way to split it into several smaller diagrams
Is there an easy way to achieve this?

Thanks
Using V12

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13410
  • Karma: +568/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: how to split a sequence diagram
« Reply #1 on: January 07, 2014, 10:50:50 pm »
I would try to copy the diagram and then remove the unwanted parts.
You might have to experiment a bit with the copy/paste options of diagrams (deep, shallow, smart) to make sure the result is what you need.

Geert

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
Re: how to split a sequence diagram
« Reply #2 on: January 07, 2014, 10:55:09 pm »
ok thanks
Using V12

heer1411

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: how to split a sequence diagram
« Reply #3 on: October 05, 2018, 09:30:23 pm »
for splinting the sequence diagram you can use concept of "interaction ".
here you can divide the seuance diagram base on the function call. please follow below steps.
  • Decide the function which has generated biggest  flow.
  • make a smart copy of diagram.(i.e. Copy_Dia).
  • Delete decided function from original diagram.
  • Delete any other connectors form copy_Dia.
  • now , in original diagram right click and select new Element or Connector > Interaction
  • Place this interaction box at the place where decided function flow must happen.
  • now select and right click on interaction. then select New Child Diagram > composite
  • then from browser window select the copy diagram
  • click OK.
cheers !
your diagram is now divided in two parts. when you click on created interaction , other diagram will be opened.
if you want more splittings follow same steps every time.

 :)

philchudley

  • EA User
  • **
  • Posts: 744
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: how to split a sequence diagram
« Reply #4 on: October 06, 2018, 12:55:49 am »
I split the interaction into several manageable interaction (sequence) diagrams.

Then to refer to one my "lower level" diagrams.


Drag the diagram to be referred to onto the "higher level" diagram and select "Interaction Occurrence"
This creates a rather ugly floating box linked to the "lower level" diagram
Right click this Interaction Occurrence" and select "Advanced > Show as Timeline" from the menu
You now have a lifeline with the heading ref the "lower level" diagram name, which you can send and receive messages to / from (as per usual lifeline). Double-clicking this drills down the levels.

You can refer to the same "lower level" diagram more than once on the "higher level" diagram if required

Phil


Models are great!
Correct models are even greater!