Will structurizr-export support writing plain UML component diagrams?
I am in the process of migrating the Moduliths documentation generation to the new structurizr-export artifact. It currently doesn't seem to support plain UML component diagram rendering, which I have to keep around for backwards compatibility reasons. Will that be added in a future release?
I wasn't planning to ... the basic PlantUML exporter produces pretty ugly diagrams. 😀 You can do the following to replace the square brackets with double-angle brackets if that's all you need:
workspace.getViews().getConfiguration().setMetadataSymbols(MetadataSymbols.DoubleAngleBrackets);
While I can very much relate to the sentiment, I unfortunately, from time to time, have to deal with folks that don't share that level of aesthetic sensitivity 😬. Joking aside, in university environments, plain UML is the type of diagram that's expected to be seen. While I am happy to plug C4 at every opportunity given, I can't quite throw the baby out with the bath water. They see a diagram and are irritated that it's not UML. It's not a discussion I want to have to win to convince them about Moduliths.
I've tried the suggested workaround, but it seems that the configuration doesn't have any effect on the generated PlantUML sources.
If you're not strictly opposed to the idea, I'd be willing to port the legacy writer to the new exporter API and contribute a PR. Happy to deprecate it right away to prevent people from casually using it.