ruviz-gpui 0.4.10

GPUI component adapter for ruviz
Documentation

ruviz-gpui

ruviz-gpui is the native GPUI adapter for embedding ruviz plots inside a desktop GPUI application.

It keeps ruviz plot construction and interaction behavior, while letting GPUI own the window, layout tree, and surrounding application shell.

Install

[dependencies]
ruviz = "0.4.10"
ruviz-gpui = "0.4.10"

What This Crate Provides

  • an embeddable GPUI plot view for static and interactive plots
  • configurable image and hybrid presentation modes
  • pan, zoom, hover, selection, and context-menu integration
  • PNG save and clipboard-copy actions routed through the host platform

Platform Notes

ruviz-gpui currently supports:

  • macOS
  • Linux
  • Windows

On Linux the crate uses GTK-backed native dialogs. Install GTK3 development headers before building desktop examples.

Examples

Runnable examples live in the crate:

cargo run -p ruviz-gpui --example static_embed
cargo run -p ruviz-gpui --example observable_embed
cargo run -p ruviz-gpui --example streaming_embed

Related Docs