Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Eclipse Layout Kernel » Using ELK for layout in PlantUML
Using ELK for layout in PlantUML [message #1840143] Wed, 07 April 2021 10:38 Go to next message
Hallvard Traetteberg is currently offline Hallvard TraettebergFriend
Messages: 673
Registered: July 2009
Location: Trondheim, Norway
Senior Member
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 11:52 Go to previous message
Miro Spönemann is currently offline Miro SpönemannFriend
Messages: 78
Registered: March 2015
Location: Kiel, Germany
Member

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: Wed Jul 24 23:12:36 GMT 2024

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

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

Back to the top