Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » from CSV to UML use case diagram
from CSV to UML use case diagram [message #1817936] Tue, 03 December 2019 11:06 Go to next message
Takwa Kochbati is currently offline Takwa KochbatiFriend
Messages: 1
Registered: December 2019
Junior Member

I'm trying to generate UML use case diagrams from data that are stored in a CSV file. the structure of the CSV file is as follows:


Is there any API or transformation approach that allows to get from data that are stored in a CSV file to use case diagrams on Papyrus?


Re: from CSV to UML use case diagram [message #1817976 is a reply to message #1817936] Tue, 03 December 2019 18:29 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7049
Registered: July 2009
Senior Member

A CSV file is not a model so you cannot use a model to model transformation directly. The MoDisco project might have a model discovery that works for your CSV, but I doubt it. The Epsilon project has done work treating spreadsheets as models so that might allow you to get a model input.

Once you have a model, any M2M should work, but since your CSV data is probably large but simple, a direct Java use of the Eclipse UML2 API might be easier.

However, I must question why you bother. Your use cases are clearly tabular so a spreadsheet will give a perfectly adequate, possibly better rendering than a UML tool.


Ed Willink
Re: from CSV to UML use case diagram [message #1817991 is a reply to message #1817976] Wed, 04 December 2019 03:13 Go to previous message
Ri Fr is currently offline Ri FrFriend
Messages: 134
Registered: July 2015
Senior Member
You can import the use cases and the actors from Excel table into Papyrus using tables (it's a bit tricky to set up Papyrus tables for import, you need to read the documentation).
The interface will not help you: you will have to create association between use case and actor (and dependencies between use cases) manually using diagrams.
Previous Topic:Tests using EditHelperAdvice classes
Next Topic:SysML SubModel problems
Goto Forum:

Current Time: Tue Mar 02 21:39:10 GMT 2021

Powered by FUDForum. Page generated in 0.02309 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top