spring-projects / spring-projects/spring-modulith

No background color when using `Documenter.DiagramOptions#withColorSelector`

Open
#1,204 2 comments 0 reactions 1 assignee View on GitHub

@odrotbohm is already working on this.

Since May 26, 2025.

in: documentation support meta: waiting for feedback
Dominant language
Java
Stars
1.2k
Forks
222
PR merge metrics
No merged PRs in 30d

Description

I'm probably using it wrongly, but I can't make it work.

I ran the DocumenterTest and it doesn't seem to work.

https://github.com/spring-projects/spring-modulith/blob/b318a7eeeec5c0a06c1d95a070995bff45ea618d/spring-modulith-integration-test/src/test/java/org/springframework/modulith/docs/DocumenterTest.java#L62

(in this test, withDefaultDisplayName works as expected, though)


Do you have some documentation on how to color diagrams? I can't find any besides this test.


My use-case is to visually indicate:

  • shared modules
  • open modules
  • deprecated modules
  • wrong relationships between modules (like, cycles)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.