spring-modulith
spring-modulith copied to clipboard
Feature Request: Support for Other C-Level Diagrams
🚀 Feature Request: Support for Other C-Level Diagrams
❓ Is there a way to create the other C-Level diagrams as well?
✨ It's already pretty nifty working for the components, so putting the other code through the UML processor should be manageable, right?
🙌 I would highly appreciate this feature, as I have a JMolecules application running that uses the same code.
💡 That's why I'm posting it here!
🛠️ However, I currently have to manually apply the PlantUML diagram to generate the full class diagram, as seen here: 🔗 GitHub - Clean Architecture
Can you elaborate which diagrams you think we should additionally create? As far as I can tell, a Spring Modulith application's code base does not contain the information necessary for higher-level diagrams. We're currently looking into ways to export the level 3 information in the form of the Structurizr DSL snippets. With that manually authored model elements eventually ending up in context and container diagrams could be enriched with the information extracted from the code base.
Of course, every diagram would be a big benefit to be generated as living documentation. The components are already achieved; the code should be quite simple—just pouring the package infos into PlantUML (PUML), just like it's done with the components in my assumption, and that should do the trick.
I would expect something like the existing writeModulesAsPlantUml—a corresponding writeClassesAsPlantUml as well—to be configurable.
writeModulesAsPlantUml Reference
How the higher-tier diagrams can be achieved is not within my competence.
- System Context Diagram
- Container Diagram
- Component Diagram
- Code Diagram