Sparx Systems Forum

Discussion => General Board => Topic started by: ADucci on December 13, 2017, 05:07:57 pm

Title: Import of PlantUML Sequence Diagrams
Post by: ADucci on December 13, 2017, 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?


Title: Re: Import of PlantUML Sequence Diagrams
Post by: Geert Bellekens on December 13, 2017, 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