camel cmd route-diagram

Display Camel route diagram in the terminal

Usage

camel cmd route-diagram [options]

Options

Option Description Default Type

--box-width

Node box width in logical pixels

180

int

--filter

Filter route by filename or route id

String

--font-size

Font size in logical pixels for node text

12

int

--ignore-loading-error

Whether to ignore route loading and compilation errors (use this with care!)

false

boolean

--node-label

What text to display in diagram nodes: code, description, or both (default)

both

String

--output

Save diagram to a PNG file instead of displaying in terminal

String

--theme,--colors

Color theme preset (dark, light, transparent, text) or custom colors (e.g. bg=#1e1e1e:from=#2e7d32:to=#1565c0). Values can be #hex or ANSI color names (e.g. from=seagreen:to=steelblue). Use bg= for transparent. Can also be set via DIAGRAM_COLORS env var.

dark

String

--width

Image width in pixels (0 = auto)

0

int

-h,--help

Display the help and sub-commands

boolean