-
Notifications
You must be signed in to change notification settings - Fork 109
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
Use graphviz-java for rendering graphviz #376
Comments
It's definitely feasible, but not something I'm planning on working on anytime soon. PRs are welcome of course. |
Why do you want that? I would rather hope that asciidoctor-diagram (AD) takes the opposite approach, where different softwares are supported plug-and-play, rather than being hard-built into AD. Doing that seems to be the entirely wrong approach, as AD grows into a large, difficult-to-maintain monolithic structure. Either one of the following two approaches seems better to me:
Eventually, the 2nd approach also naturally leads back to the 1st, as the mere passthrough is barely worth the unflexibility of combining them all into a single package. I'm currently not using AD, very much because it's a large chunk of stuff, including a dependency on Java, of which I barely want or need one or two backends. |
I'm not sure what you're complaining about @ManDay. What you're asking for is pretty much the way things are already. The extensions are all packaged in one big gem, but each of the formats is a distinct extension that you can choose to require or not as you prefer. If you require There's no hard dependency on Java, except when you actually use a Java based rendering tool like PlantUML. The gem was larger than necessary due to a silly packaging mistake on my part. The 2.2.12 build is around 85Kb. If that's still too large for you, you're welcome to use some other library. |
Lets consider the two issues (and I apologize for mixing this into one thread):
|
|
Hi,
would it be possible to use the graphviz-java jar to render all graphviz diagrams instead of calling the binary?
The lib is provided here:
https://github.com/nidi3/graphviz-java
The text was updated successfully, but these errors were encountered: