Skip to content

feat(inspect): add sixel render support#888

Open
bergzand wants to merge 1 commit intokaspar030:mainfrom
bergzand:pr/feat/sixel
Open

feat(inspect): add sixel render support#888
bergzand wants to merge 1 commit intokaspar030:mainfrom
bergzand:pr/feat/sixel

Conversation

@bergzand
Copy link
Copy Markdown
Contributor

@bergzand bergzand commented Apr 1, 2026

With #807 a subcommand to print the tree of builders was added. While that PR added a way to print the builders with a tree-like text shape, it can obviously be improved upon.

This PR adds support to print the builders as a tree graph in a terminal. This way users can get more insight in how builders relate to and depend on each other.

The output requires Sixel support in the terminal application (see https://www.arewesixelyet.com/). Rendering uses mermaid format with mermaid_rs_renderer for pure-rust mermaid format parsing.

Testing

Run the following in a laze project

$ laze inspect builders --sixel

Make sure the terminal emulator supports Sixel.

Example output

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant