Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » What is the best JavaFX diagram builder for Xtext language?
icon5.gif  What is the best JavaFX diagram builder for Xtext language? [message #1742077] Wed, 31 August 2016 07:38 Go to next message
Stephane Galland is currently offline Stephane GallandFriend
Messages: 106
Registered: July 2014
Location: Belfort, France
Senior Member
Dear all.

I would like to define some graphical representation of the code that was written with my DSL.

I found a couple of projects, e.g. FXDiagram that are providing tools for building these diagrams.

My questions are: do you know good libraries according to your experience?

Thank you in advance.
Stéphane.


Dr.habil Stéphane Galland.
Belfort-Montbéliard University of Technologie, France.

http://www.multiagent.fr/People:Galland_stephane
http://www.sarl.io
http://www.arakhne.org

[Updated on: Wed, 31 August 2016 07:47]

Report message to a moderator

Re: What is the best JavaFX diagram builder for Xtext language? [message #1742080 is a reply to message #1742077] Wed, 31 August 2016 08:28 Go to previous message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 751
Registered: July 2009
Location: Hamburg
Senior Member
I prefer model view frameworks, which don't allow changes of the underlying model via the diagram, e.g.:
FXDiagram: User decides what's in a diagram (graphically), layout semi-automatically, some nice reconcile operations to deal with model changes
KLighD: User scripts what's in a diagram, fully automatic layout, nice expand/collapse of container nodes inside the diagram
Graphviz: Hook up a code generator for your language that generates .dot files. Very simple to hook up in Xtext, but no GUI
Generic Graph View (discontinued): User models textually (scripts) what's in a diagram and how it's rendered

Some resources on that topic:
http://jankoehnlein.github.io/FXDiagram/
https://rtsys.informatik.uni-kiel.de/confluence/pages/viewpage.action?pageId=328115
https://github.com/JanKoehnlein/Generic-Graph-View (discontinued)
http://www.slideshare.net/schwurbel/diagrams-xtext-and-ux (general issues with Xtext and graphics, views vs. editors, FXDiagram)
http://www.slideshare.net/schwurbel/graphical-views-for-xtext (general issues with Xtext, some comparison of Graphviz, GEF, GGV)
http://www.slideshare.net/schwurbel/a-fresh-look-at-graphical-editing-10023106 (views vs. editors, GVV)
http://www.slideshare.net/schwurbel/combining-text-and-graphics-in-eclipsebased-modeling-tools (general issues with Xtext and graphics)



---
Get professional support from the Xtext committers at www.typefox.io
Previous Topic:Xtext Gradle Dependancies
Next Topic:Xtext grammar related query
Goto Forum:
  


Current Time: Mon Dec 18 01:34:46 GMT 2017

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

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