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

Claus Ibsen commented on CAMEL-23420:
-------------------------------------

There are a couple of tasks still to do in CamelMonitor.java

 

1: Render diagram in fullscreen and include scroll bar so you can scroll 
up/down and left/right and the image is repositioned accordingly.

2: Add option to render diagram as ascii (unicode) instead of image. Add 
shortcut with upper case D = Text Diagram for this mode.

 

> camel-jbang - Add graphical route diagram rendering to TUI monitor
> ------------------------------------------------------------------
>
>                 Key: CAMEL-23420
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23420
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Guillaume Nodet
>            Priority: Major
>             Fix For: 4.21.0
>
>
> Use TamboUI's Image widget to render route diagrams as actual images (via 
> Kitty/Sixel/iTerm2 graphics protocols) in the TUI monitor when the terminal 
> supports it, falling back to the existing text tree diagram for terminals 
> without native image support.
> This requires:
> - Making RouteDiagramLayoutEngine and RouteDiagramRenderer classes/methods 
> public so they can be reused from the TUI plugin
> - Adding tamboui-image dependency to the TUI plugin module
> - Detecting terminal image protocol support and rendering accordingly
> Blocked by upstream TamboUI fixes:
> - tamboui#315 — Image placement offset within Block border
> - tamboui#316 — Missing Kitty graphics delete command
> - tamboui#317 — Blurry image rendering (not querying terminal cell pixel size)



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

Reply via email to