Skip to main content



      Home
Home » Modeling » Eclipse Layout Kernel » Using ELK for layout in PlantUML
Using ELK for layout in PlantUML [message #1840143] Wed, 07 April 2021 06:38 Go to next message
Eclipse UserFriend
Hi,

PlantUML is a popular textual format for UML diagrams and other diagrams useful in software development as well (I'm responsible for the PlantUML Eclipse plugin). It currently relies on graphviz for (part of) the layout, but this makes installation and use cumbersome, so we're considering ELK as a pure java layout engine. Now I wonder about the best transition strategy...

I have used the ELK kgraph natively, but in this case it may be easier to use elkt (the textual DSL based on xtext, which I know well), since the similar dot textual format is already used internally. How similar are these DSLs? I notice the repo has an xtext project for the dot language, is a transformation from dot to elkt available?

PlantUML is provided as a single jar, is something similar available for ELK or do I need to assemble such an über jar from the elk (and xtext) bundles myself?

Regards,

Hallvard
Re: Using ELK for layout in PlantUML [message #1840150 is a reply to message #1840143] Wed, 07 April 2021 07:52 Go to previous message
Eclipse UserFriend
We used to have a conversion tool when the code was part of the KIELER project (University of Kiel, rtsys group), but I think this is no longer available in ELK.

ELK includes an Xtext grammar for the DOT language, but I think conversion works only in one direction (ElkGraph > DOT) for integration of the GraphViz algorithms.
Previous Topic:Layered layout inside self loops
Next Topic:LayeredLayoutProvider: keep order of nodes
Goto Forum:
  


Current Time: Thu May 15 15:31:05 EDT 2025

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

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

Back to the top