-
-
Notifications
You must be signed in to change notification settings - Fork 981
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 possibility to use custom graphviz implementation #2009
Conversation
I've checked with JPMS service. In
and my service provider was called. |
That's a nice move. I'm curious to see where this takes us :-) However, I suggest that we work on a dedicated branch for this https://github.com/plantuml/plantuml/tree/custom_graphviz Could you please update your pull request accordingly? |
Done. |
Are you considering committing this (or other classes) to the codebase? |
No, we will create our own project that uses graphviz-java, but it will be under ASL. The reason is that we don’t want to be tied to PlantUML and prefer to make releases whenever we need. But that’s exactly the beauty of the solution I’m proposing. From now on, everyone will be able to use PlantUML with the specific version of Graphviz that suits them. Isn’t that wonderful and doesn’t it provide incredible flexibility to PlantUML? For example, we are working on a program that draws graphs. Everyone who downloads the program should have the ability to use this feature. Of course, telling everyone to install a specific Graphviz version isn’t a great approach. We tried Smetana, but it has some unpleasant bugs. Today, I tested ELK and PlantUML/Vizjs. Vizjs threw a bunch of errors. ELK worked, but the results are still not as good as with Graphviz. That’s why we decided to use graphviz-java. |
Understood, no problem. Tell us when you will have an URL for this project!
That makes perfect sense.
Absolutely! We’re ready to merge your pull request into the main branch. However, I do have a concern. The interface On a related note, we’ve been considering refactoring parts of our code to make it cleaner. Specifically, we might take advantage of
Thanks for sharing! Since we’re on the topic of Graphviz implementations, you might want to explore https://github.com/jamisonjiang/graph-support |
Ok. But I will do it firstly as simple as possible, trying to spend minimum time.The main thing is that it does what we need
Yes, I've also noticed that there are some things to discuss, for example, Now, I am thinking - maybe it is better to load not
What do you think? I can make PR.
I absolute don't know PlantUML from developer side (I am only PlantUML user), but in our projects we use JPMS and JPMS services. We separate
Thank you for your wonderful project. I like Smetana and I am sure that with time it will be as good as graphviz. Thank you for your suggestion about graph-support. I know this project and even opened several issues. It is very good that new java libraries related to graph generation are emerging |
Yes, this does seem like a more flexible and improved solution.
This is quite outdated at this point and should probably be removed entirely. |
…2013) * Add possibility to use custom graphviz implementation (#2009) * Add possibility to create Graphviz instance using service factory (#2012) --------- Authored-by: PavelTurk <[email protected]>
Fixes #2008