You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For better layout of PlantUML diagrams, I mostly use ELK (Eclipse Layout Kernel). As ELK is not part of the official PlantUML distribution, using asciidoctor-diagram cannot render such diagrams. This issue can easily circumvented when e.g. using the asciidocotr Maven plugin by simply adding the following ELK libraries as a dependency to the plugin.
However, when e.g. using the https://github.com/asciidoctor/asciidoctor-intellij-plugin this way of providing additional libraries is not possible. Following the ELK discussions and timeline around PlantUML, I don't see that it will be integrated soon into PlantUML itself.
Therefore, it would be great if asciidoctor-diagram could bring the dependencies to ELK itself and thus support a third layouting option besides GraphViz and Smetana for many tools built on top of asciidoctor-diagram.
The text was updated successfully, but these errors were encountered:
I had a look during the holidays, and this is what I found:
For the IntelliJ plugin, you can put extra JARs for rendering the preview in a project specific folder .asciidoctor/lib. See the docs for details. This would then also work for the ELK classes - but that is not sufficient for the current version.
As of today, ELK is not included in the very latest version of the PlantUML JARs, still: It is the EPL version, not the LGPL version as this project uses. Not sure how @pepijnve will want to handle this.
confirm the warning to load the JAR (necessary every time you restart your IDE)
possibly reopen the current AsciiDoc file
Enjoy - see screenshot below.
As a follow-up, please create an issue in the https://github.com/asciidoctor/asciidoctor-intellij-plugin. Still I don't think I'll include it until the service loader mechanism is working also in custom class loaders. It might be possible to call the registration manually, still I'd like to avoid that. Let's see what the ELK project decides.
For better layout of PlantUML diagrams, I mostly use ELK (Eclipse Layout Kernel). As ELK is not part of the official PlantUML distribution, using asciidoctor-diagram cannot render such diagrams. This issue can easily circumvented when e.g. using the asciidocotr Maven plugin by simply adding the following ELK libraries as a dependency to the plugin.
However, when e.g. using the https://github.com/asciidoctor/asciidoctor-intellij-plugin this way of providing additional libraries is not possible. Following the ELK discussions and timeline around PlantUML, I don't see that it will be integrated soon into PlantUML itself.
Therefore, it would be great if asciidoctor-diagram could bring the dependencies to ELK itself and thus support a third layouting option besides GraphViz and Smetana for many tools built on top of asciidoctor-diagram.
The text was updated successfully, but these errors were encountered: