You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/05/05 13:39:00 UTC

[jira] [Commented] (CAMEL-23416) camel-diagram - Add dev console

    [ https://issues.apache.org/jira/browse/CAMEL-23416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18078419#comment-18078419 ] 

Claus Ibsen commented on CAMEL-23416:
-------------------------------------

Add options to control font-size boxes-width that was recently added

> camel-diagram - Add dev console
> -------------------------------
>
>                 Key: CAMEL-23416
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23416
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.21.0
>
>
> Add DiagramDevConsole extends AbstractDevConsole class that comes with the diagram functionality to output a route diagram.
> Should be text based by default, but allow the user to specify theme=dark|light which then renders the image inlined in the html response
> For json response, then we may need to base64 encode the image and return as a blob text in json.
> But at first glance its a dev console, so if you run camel run foo.java --console and then have camel-diagram included then you can see those route diagrams. And we should then include camel-diagram by default in camel-jbang (dev mode) so its included.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)