You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2026/05/06 12:34:07 UTC

(camel) branch main updated: Polished

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 2bcebd64686f Polished
2bcebd64686f is described below

commit 2bcebd64686fa0161ec87c3776cacec6b8891995
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed May 6 14:33:39 2026 +0200

    Polished
---
 components/camel-diagram/src/main/docs/diagram.adoc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/components/camel-diagram/src/main/docs/diagram.adoc b/components/camel-diagram/src/main/docs/diagram.adoc
index ef20c6afe571..103910eb7de7 100644
--- a/components/camel-diagram/src/main/docs/diagram.adoc
+++ b/components/camel-diagram/src/main/docs/diagram.adoc
@@ -84,6 +84,7 @@ The following built-in themes are available:
 * `dark` - dark background (default)
 * `light` - light background
 * `transparent` - transparent background
+* `text` - to use tree diagram instead of visual diagram
 
 Custom colors can be specified using the format:
 
@@ -93,3 +94,19 @@ bg=#1e1e1e:from=#2e7d32:to=#1565c0:eip=#8957e5:choice=#d29922
 ----
 
 Color values can be `#hex` codes or ANSI color names (e.g., `seagreen`, `steelblue`).
+
+To use dark theme
+
+[source,bash]
+----
+camel cmd route-diagram MyRoute.java --theme=dark
+----
+
+To print textual tree diagram instead of visual
+
+[source,bash]
+----
+camel cmd route-diagram MyRoute.java --theme=tree
+----
+
+TIP: You can also show diagrams for an existing running integration by executing `camel cmd diagram`.