Closed kevinwright closed 1 year ago
Hi @kevinwright
Thank you for pointing out the ambiguity regarding the type
attribute and the wrong documentation about the outline color. I enhanced the documentation a bit by adding that the type attribute is mandatory in node stylings. I did also see that you made the correction about the outline color. Thank you for that too.
As a feedback from my side I would suggest that you choose your words more wisely when reporting issues to this project. Calling the styling feature "badly documented" is your personal opinion. If you find any mistakes or ambiguities, feel free to create an issue and report them. I will do as much as I can to help. Calling a mistake in the documentation a "an outright lie" is kind of a bold statement. I cannot reconstruct anymore why this mistake was there but it was certainly not intentional.
I put a lot of my private free time into this plugin and into the documentation. You on the other hand can use this project as is and free of charge. This is all you get. If you are not happy with it, feel free to:
Starting with https://github.com/ferstl/depgraph-maven-plugin/wiki/Styling I first tried the following styling json file
Only to be treated to the thoroughly unhelpful error:
On further investigation it turns out that we have to specify
"type": "box"
(or whatever). This has the impact of losing the default rounded corners, requiring an additional"style": "filled, rounded"
to bring them back.The page also tells an outright lie in claiming that the
color
property on nodes sets the text color when it actually sets the border color. To set the text color you have to specify e.g."default-font": { "color": "red" }
It would be really helpful if the wiki page did a better job of explaining all this, and provided the json style file responsible for the example output given at the top.