Uses of Class
org.springframework.modulith.docs.Documenter.DiagramOptions
-
Uses of Documenter.DiagramOptions in org.springframework.modulith.docs
Methods in org.springframework.modulith.docs that return Documenter.DiagramOptionsModifier and TypeMethodDescriptionstatic Documenter.DiagramOptionsDocumenter.DiagramOptions.defaults()Creates a new defaultDocumenter.DiagramOptionsinstance configured to use all dependency types, list immediate dependencies for individual module instances, not applying any kind ofApplicationModuleorComponentfilters and default file names.Documenter.DiagramOptions.withColorSelector(Function<ApplicationModule, Optional<String>> colorSelector) A callback to return a hex-encoded color perApplicationModule.Documenter.DiagramOptions.withComponentFilter(Predicate<com.structurizr.model.Component> componentFilter) APredicateto define which StructurizrComponents to be included in the diagram to be created.Documenter.DiagramOptions.withDefaultDisplayName(Function<ApplicationModule, String> defaultDisplayName) A callback to return a default display names for a givenApplicationModule.Documenter.DiagramOptions.withDependencyDepth(DependencyDepth dependencyDepth) TheDependencyDepthto define which other modules to be included in the diagram to be created.Documenter.DiagramOptions.withDependencyTypes(DependencyType... types) Select the dependency types that are supposed to be included in the diagram to be created.Documenter.DiagramOptions.withElementsWithoutRelationships(Documenter.DiagramOptions.ElementsWithoutRelationships elementsWithoutRelationships) Configuration setting to define whether modules that do not have a relationship to any other module shall be retained in the diagrams created.Documenter.DiagramOptions.withExclusions(Predicate<ApplicationModule> exclusions) APredicateto define the which modules to exclude from the diagram to be created.Documenter.DiagramOptions.withStyle(Documenter.DiagramOptions.DiagramStyle style) Which style to render the diagram in.Documenter.DiagramOptions.withTargetFileName(String targetFileName) The target file name to be used for the diagram to be created.Documenter.DiagramOptions.withTargetOnly(Predicate<ApplicationModule> targetOnly) APredicateto define which of the modules shall only be considered targets, i.e.Methods in org.springframework.modulith.docs with parameters of type Documenter.DiagramOptionsModifier and TypeMethodDescriptionDocumenter.writeDocumentation(Documenter.DiagramOptions options, Documenter.CanvasOptions canvasOptions) Writes all available documentation: The entire set of modules as overview component diagram. Individual component diagrams per module to include all upstream modules. The Module Canvas for each module.Documenter.writeIndividualModulesAsPlantUml(Documenter.DiagramOptions options) Writes the component diagrams for all individual modules.Documenter.writeModuleAsPlantUml(ApplicationModule module, Documenter.DiagramOptions options) Writes the PlantUML component diagram for the givenApplicationModulewith the given renderingDocumenter.DiagramOptions.Documenter.writeModulesAsPlantUml(Documenter.DiagramOptions options) Writes the PlantUML component diagram for allApplicationModuleswith the givenDocumenter.DiagramOptions.