Book a Demo

Author Topic: Sequence Diagrams - XMI Export  (Read 3591 times)

assato

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Sequence Diagrams - XMI Export
« on: February 22, 2007, 06:36:51 am »
Hi, I'm trying to extract information from a sequence diagram (messages, parameters, variables etc). The goal is to utilize this information in a Visual Basic macro.

My current problem is that I can't see how the content of fragments (such as loop's and alt's) are represented in the exported XMI. The messages and their sequence I find, but not the relationship between fragments and messages (which messages are located inside each fragment).

Does anyone know how this represented in the XMI-file?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Sequence Diagrams - XMI Export
« Reply #1 on: February 22, 2007, 10:31:29 am »
I cannot remember off hand. However, not too long ago I looked up where the alts and loops were stored by EA.

Search the forum for my message, and read the thread - I think one of the Sparxians shed some light on this too. Also, go back a ways to see if there is additional (greater) wisdom from other sources to be had.

I don't think you need to parse the XMI to get at this stuff, although that's not so say it wouldn't be a valid approach. It's just a bit of work to link everything you'll need into a VBA project.

HTH, David
No, you can't have it!

assato

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Sequence Diagrams - XMI Export
« Reply #2 on: February 22, 2007, 12:42:20 pm »
Thanks, I found it. But still that only solves half my problem. It doesn't solve the problem of identfying which messages are located inside the fragment. Any idea of how that is represented?

I know accessing the information is not easy from VBA, but that is where it is going to be utilized. Maybe you have an alternative suggestion for generating a more "Excel-friendly" document containing information from the sequence diagram?

I appreciate the help :)