Home » Modeling » Epsilon » Building a graphical editor to compose and visualise Epsilon Workflows(Your input is important)
Building a graphical editor to compose and visualise Epsilon Workflows [message #885227] |
Tue, 12 June 2012 12:29  |
Eclipse User |
|
|
|
NB: I am posting this message on behalf of one of my MSc project supervisees, Suhrid Karthik, as he is unable to post external links.
Hello all,
I'm an MSc student at the University of York and as part of my masters project I'm building a graphical editor to support the construction and visualisations of Epislon workflows. The broad goals are:
1) To offer a graphical way of constructing workflows which at the moment is done by using Epsilon ANT tasks.
2) To visualize existing workflow build files.
I've come up with a set of potential user requirements for such a tool which I've collected here:
https://docs.google.com/document/d/1J0MmTzKQ0oxNW4pcc9SBeWki2WCsa_0aEjhYHUmPyQo/edit
As users of Epsilon, your feedback on this is crucial and will help shape the tool. It would be great, if you could take a few moments of your time to go through the requirements and leave your comments either on the doc or here in this thread.
Regards,
Suhrid.
[Updated on: Tue, 12 June 2012 12:40] by Moderator
|
|
| |
Re: Building a graphical editor to compose and visualise Epsilon Workflows [message #885565 is a reply to message #885233] |
Wed, 13 June 2012 04:55   |
Eclipse User |
|
|
|
Hi Louis, hi Suhrid,
That sounds very nice! Let me put in my 2 cents. Rather than editing the shared document, I'd like to first discuss things here.
First of all, how "leaky" do you want your abstraction to be? Advanced users like me that can already write Ant files might want to tweak the generated source code, to do the "remaining 20%" that your tool may not be designed to do. However, all that information might confuse users, so having a "simple" and "advanced" view might be useful.
Are you considering a traditional top-down approach from model to Ant buildfile, or will you work directly with the Ant buildfile as a model (with its own EMC driver)? I think you should be able to generate Java code straight from the Ant buildfile: after all, that's how Ant runs it . Working directly with the Ant buildfile may provide the best results, but it will be probably more work.
I would also suggest having wizards for quickly generating common workflows. EUnit could greatly benefit from this. You could right-click on a .e*l file and tell your tool "generate me a workflow and a launch configuration for testing this script with these models". After that, we could drop the user into the EOL editor for the .eunit file, and they wouldn't need to know Ant at all.
Cheers,
Antonio
|
|
|
Re: Building a graphical editor to compose and visualise Epsilon Workflows [message #885752 is a reply to message #885565] |
Wed, 13 June 2012 10:31   |
Eclipse User |
|
|
|
Hi Louis, hi Suhrid,
Quote:First of all, how "leaky" do you want your abstraction to be? Advanced users like me that can already write Ant files might want to tweak the generated source code, to do the "remaining 20%" that your tool may not be designed to do. However, all that information might confuse users, so having a "simple" and "advanced" view might be useful.
Totally agree. Keep in mind that your editor should not overwrite or delete the 20% added by the user
Quote:Working directly with the Ant buildfile may provide the best results, but it will be probably more work.
IMHO you should stick to generating an ANT script because the epsilon stand alone implementation is not robust enough, and once a good robust implementation is available it would allow you to do things way beyond the capabilities of the epsilon ant tasks. Maybe the simple vs advanced idea will allow more complex workflows to be expressed when targeting standalone generation. Perhaps at the moment a would starting point would be to stick to ANT generation but design the editor/dsl as to make it easily extendable in the future.
Quote:I would also suggest having wizards for quickly generating common workflows. EUnit could greatly benefit from this. You could right-click on a .e*l file and tell your tool "generate me a workflow and a launch configuration for testing this script with these models". After that, we could drop the user into the EOL editor for the .eunit file, and they wouldn't need to know Ant at all.
This wold be awesome for newcomers and people that have to build ant tasks on a regular basis.
Although at the moment I currently run all E?L related stuff standalone, I do think that such an editor wold be an important contribution to the community.
Regarding the posted requirements:
FR_3 any chance to get the offending failed task to be marked in the editor?
FR_5 and FR_10 Should be probably a single requirement stating that the user should be able to define the execution order of tasks, including parallel execution. I would recommend taking a look at SysML activity diagrams which provide a pretty complete set of control nodes (forks, decisions, etc.).
FR_11 I would probably limit this one. I am think, for example, of ANT tasks that can modify the execution order of other tasks... you would have to add those semantics to your editor. I am guessing that probably the most desired additional tasks would be file/folder actions (things like delete before generation, etc.), but I am not an ANT expert so I recommend further research on this.
|
|
| |
Re: Building a graphical editor to compose and visualise Epsilon Workflows [message #885812 is a reply to message #885752] |
Wed, 13 June 2012 12:39   |
Eclipse User |
|
|
|
Hi Horacio,
Many thanks for your reply.
Quote:FR_3 any chance to get the offending failed task to be marked in the editor?
This is a good idea. I will look into this.
Quote:
FR_5 and FR_10 Should be probably a single requirement stating that the user should be able to define the execution order of tasks, including parallel execution. I would recommend taking a look at SysML activity diagrams which provide a pretty complete set of control nodes (forks, decisions, etc.).
Thanks, I will look at how SysML does this.
Quote:
FR_11 I would probably limit this one. I am think, for example, of ANT tasks that can modify the execution order of other tasks... you would have to add those semantics to your editor. I am guessing that probably the most desired additional tasks would be file/folder actions (things like delete before generation, etc.), but I am not an ANT expert so I recommend further research on this.
Good point. There are a huge variety of ANT tasks out there and introducing a graphical way to specify them fully is not trivial. However, I was thinking of having atleast a placeholder for non Epsilon tasks in the workflow visualisation - so that the complete workflow is represented. Perhaps further details of external tasks could be filled in by users later. But yes, this is something to think about.
Please feel free to share any more thoughts.
Thanks !
Suhrid.
|
|
| | |
Goto Forum:
Current Time: Wed Jul 23 08:06:43 EDT 2025
Powered by FUDForum. Page generated in 0.15160 seconds
|