-
-
Notifications
You must be signed in to change notification settings - Fork 995
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
skinParam fixCircleLabelOverlapping doesn't work anymore #1460
Comments
Could you try with another graphviz version? |
It seems to be difficult on MacOS to install an older version (brew offers only the newest version). I'll check if I can do that on a Windows PC. |
Hello @arnaudroques, Execution environment: I also tried Graphviz 8.0.5 on Windows 10, again, with exactly the same results. Execution environment: Which Graphviz version is used by the online server? Version 2.44 seems to be one of the tested and recommended Graphviz versions (but very old). |
Thanks for your tests. It would be nice if you could add some directive This should create two files in your current directory (svek.dot and svek.svg). svek.dot:
svek.svg:
Could you post your own result with plantuml-1.2023.9.jar? |
Hi @arnaudroques, test-svek.puml
svek.dot:
svek.svg:
test-svek.svg
|
We have removed the error message in last snapshot. However, it looks like some arrows are missing, right? |
I suggest to close this issue, since the main problem is fixed. I added the case with the missing arrow head to the new issue #1491. |
Problem description
Having some layout issues in component diagrams, I found a skin parameter
fixCircleLabelOverlapping
fixing overlapping labels. It did work great in PlantUML version 1.2022.5. Updating PlantUML to 1.2023.5 or to 1.2023.9 lead to strange exceptions. The same diagram could not be rendered anymore.Steps to reproduce
i.
java -jar plantuml-1.2022.5.jar test.puml -tsvg
(works as expected)ii.
java -jar plantuml-1.2023.5.jar test.puml -tsvg
leads to exceptioniii.
java -jar plantuml-1.2023.9.jar test.puml -tsvg
leads to another error messageError java.lang.StringIndexOutOfBoundsException: String index out of range: -2
Expected behavior
The diagram should be rendered without errors and without label overlapping and should look similar to the following rendering result created with PlantUML lib version 1.2022.5:
Execution environment:
Additional context
This might be related to #1068.
Another question: Why is the parameter
fixCircleLabelOverlapping
not turned on by default? Isn't avoiding overlapping labels not the preferred behavior?The text was updated successfully, but these errors were encountered: