davsclaus opened a new pull request, #23152: URL: https://github.com/apache/camel/pull/23152
## Summary - Add `RouteDiagramAsciiRenderer` that renders route diagrams as plain text using the same `RouteDiagramLayoutEngine` as the PNG renderer - Support two text themes: `--theme=ascii` (plain `+` `-` `|` `v`) and `--theme=unicode` (box-drawing `┌──┐ │ └──┘ ▼`) - Scope boxes rendered with dashed borders (`- - -` / `:` for ASCII, `╌` / `╎` for Unicode) - Text themes print directly to terminal (no graphics protocol required) and save as `.txt` files - Integrated into `CamelRouteDiagramAction` (JBang CLI), `DiagramDevConsole`, and `RouteDiagramDumper` SPI ## Test plan - [x] Unit tests for ASCII rendering (sequential, branching, empty, source, long labels, scope boxes) - [x] Unit tests for Unicode rendering (sequential, branching, scope boxes) - [x] Unit tests for text wrapping (short, wrap, truncate) - [x] JBang module compiles with updated `CamelRouteDiagramAction` - [x] Full reactor build passes - [x] Visual verification of ASCII and Unicode output _Claude Code on behalf of Claus Ibsen_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
