Uses of Class
org.springframework.modulith.docs.Documenter.DiagramOptions
Packages that use Documenter.DiagramOptions
-
Uses of Documenter.DiagramOptions in org.springframework.modulith.docs
Methods in org.springframework.modulith.docs that return Documenter.DiagramOptionsModifier and TypeMethodDescriptionstatic Documenter.DiagramOptions
Documenter.DiagramOptions.defaults()
Creates a new defaultDocumenter.DiagramOptions
instance configured to use all dependency types, list immediate dependencies for individual module instances, not applying any kind ofApplicationModule
orComponent
filters 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) APredicate
to define which StructurizrComponent
s 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) TheDependencyDepth
to 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) APredicate
to 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) APredicate
to 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 givenApplicationModule
with the given renderingDocumenter.DiagramOptions
.Documenter.writeModulesAsPlantUml
(Documenter.DiagramOptions options) Writes the PlantUML component diagram for allApplicationModules
with the givenDocumenter.DiagramOptions
.