Using ELK for layout in PlantUML [message #1840143] |
Wed, 07 April 2021 10:38  |
Hallvard Traetteberg 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  |
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.01872 seconds