Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ELK layout engine #458

Open
StephanPirnbaum opened this issue Mar 19, 2024 · 1 comment
Open

Add support for ELK layout engine #458

StephanPirnbaum opened this issue Mar 19, 2024 · 1 comment

Comments

@StephanPirnbaum
Copy link

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.

<dependency>
    <groupId>org.eclipse.elk</groupId>
    <artifactId>org.eclipse.elk.core</artifactId>
    <version>0.7.1</version>
</dependency>
<dependency>
    <groupId>org.eclipse.elk</groupId>
    <artifactId>org.eclipse.elk.alg.layered</artifactId>
    <version>0.7.1</version>
</dependency>
<dependency>
    <groupId>org.eclipse.elk</groupId>
    <artifactId>org.eclipse.elk.alg.mrtree</artifactId>
    <version>0.7.1</version>
</dependency>
<dependency>
    <groupId>org.eclipse.elk</groupId>
    <artifactId>org.eclipse.elk.graph</artifactId>
    <version>0.7.1</version>
</dependency>

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.

@pepijnve
Copy link
Member

@ahus1 I think this is feature request for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants