[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sprotty-dev] Sprotty for Mining and Analysis Workflow Visualization
|
Hi Patrick,
the multicore example uses the deprecated Xtext in the web integration and a rather old version of sprotty.
You may be better of with a Language Server Protocol based approach as described here:
https://medium.com/@jan.koehnlein/domain-specific-languages-in-theia-8838aee1279
We have also moved Sprotty to Eclipse. A first release will come in March. A lot of APIs have changed and a lot of new features have been added. The master branch of the example above is uptodate, but the intermediary steps aren't.
Hope that helps
Jan
--
Dr. Jan Köhnlein
jan.koehnlein@xxxxxxxxxx
TypeFox GmbH
Am Germaniahafen 1
24143 Kiel
Phone: +49 151 17396687
Skype: jankoehnlein
Twitter: jankoehnlein
Sitz: Kiel, Registergericht: Amtsgericht Kiel, HRB 17385
Geschäftsführer: Sven Efftinge, Moritz Eysholdt, Dr. Jan Köhnlein
> On 19. Feb 2019, at 14:13, Patrick Neubauer <patrick.neubauer@xxxxxxxxxx> wrote:
>
> Dear Sprotty developers,
>
> We are members of the CROSSMINER EU project, which involves mining of open-source software from various providers, and developed Crossflow, i.e. a language to specify mining and analysis workflows [1].
>
> As part of our web application, we would like to graphically visualise the workflow execution during runtime and found Sprotty to be a fitting candidate.
>
> As a result, we generated an Xtext-based language of Crossflow, i.e. our workflow language, replaced the exemplary “multicore” language with it, and drafted the diagram generator accordingly.
>
> Although we were able to produce a graph with nodes as well as compute its layout [2], we were unable to successfully visualise the result in the browser [3].
>
> The experiment is available on Github [4] and is fairly easy to reproduce.
>
> Can you provide any hint on what may go wrong?
>
> Cheers, Patrick
>
> [1] Crossflow metamodel: https://github.com/crossminer/scava/blob/crossflow/crossflow/org.eclipse.scava.crossflow.language/model/crossflow.pdf
> Exemplary Crossflow workflow graph: https://github.com/patrickneubauer/sprotty-experiment/raw/master/img/img5.png
>
> [2] Console output: https://github.com/patrickneubauer/sprotty-experiment/raw/master/img/img3.png
>
> [3] Browser output: https://github.com/patrickneubauer/sprotty-experiment/raw/master/img/img2.png
>
> [4] Experimental repo: https://github.com/patrickneubauer/sprotty-experiment
>
>
> --
> Patrick Neubauer
> Research Associate
> Department of Computer Science
> University of York, United Kingdom
> https://www-users.york.ac.uk/~pn642/
> Disclaimer: http://www.york.ac.uk/docs/disclaimer/email.htm
> _______________________________________________
> sprotty-dev mailing list
> sprotty-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sprotty-dev