Skip to content

Commit

Permalink
Change Diagram style to UML
Browse files Browse the repository at this point in the history
  • Loading branch information
GODrums committed Aug 15, 2024
1 parent bc3aed9 commit d57beaf
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import org.junit.jupiter.api.Test;
import org.springframework.modulith.core.ApplicationModules;
import org.springframework.modulith.docs.Documenter;
import org.springframework.modulith.docs.Documenter.DiagramOptions;
import org.springframework.modulith.docs.Documenter.DiagramOptions.DiagramStyle;

public class HephaestusModulithTests {

Expand All @@ -19,7 +21,7 @@ void writeDocumentationSnippets() {
new Documenter(modules)
.writeModuleCanvases()
.writeModulesAsPlantUml()
.writeIndividualModulesAsPlantUml();
.writeIndividualModulesAsPlantUml(DiagramOptions.defaults().withStyle(DiagramStyle.UML));
}

}

0 comments on commit d57beaf

Please sign in to comment.