Author Topic: Import of PlantUML Sequence Diagrams  (Read 14 times)

ADucci

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Import of PlantUML Sequence Diagrams
« on: Today at 05:07:57 pm »
I have many PlantUML Sequence diagrams which are "modelled" using the plantUML pseudo-code. I would like to know if anyone has tried to generate sequence diagrams from this code? Essentially building a parser for the pseudo language? This would make migration a lot easier. I would be happy to collaborate if anyone else had such a requirement?



Geert Bellekens

  • EA Guru
  • *****
  • Posts: 7739
  • Karma: +165/-21
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Import of PlantUML Sequence Diagrams
« Reply #1 on: Today at 05:39:02 pm »
I think that is going to be a difficult one.
AFAIK PlantUML is more a diagram tool then a modelling tool.
That means that you can use whatever elements on you diagrams without a reference to an underlying model.
This is especially troublesome for sequence diagrams as they usually represent only something like the behavior of a single operation.
So in other to describe the full behavior of a single element you typically need several sequence diagrams. Now if none of the instances in the sequence diagram somehow represent an underlying element, you would import nothing but garbage into your EA model, having tons of lifelines without a classifier.

I'm not sure how that problem could be solved...

Geert