Skip to main content


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
Stéphane Galland is currently offline Stéphane GallandFriend
Messages: 123
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.

[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: 760
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: Wed Apr 24 20:57:59 GMT 2024

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

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

Back to the top