You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Breaking Changes
Replaced positional commands (open, create, print) and the --format
option with a unified --action (-a) flag.
Default execution (pubviz) now functions identically to pubviz -a open.
Removed the viz/dot.dart library. toDot is now exposed via a an extension
on VizRoot
New Features
Workspaces: Added the --workspace (-w) flag to visualize all linked
packages within a Dart workspace.
Output Controls: Added the --out-dir option to specify a target
destination for generated HTML and offline capabilities.
Serve Mode & Offline Support: Added the serve action which hosts the
web app locally via dhttpd without booting up a new browser window. The open action now uses this local server to bypass strict file:// CORS
restrictions internally. Additionally, the package now supports complete
offline functionality by bundling compiled Dart web application assets (JS
and WASM) directly inside the package.
Web UI Overhaul
Completely redesigned the interactive web interface, adding a collapsible
sidebar for cleaner zooming and display control.
Added a z keyboard shortcut to easily toggle graph zoom capabilities.
Improved graph styling: Primary packages now utilize a distinct background
color to distinguish them easily.
Other Improvements & Fixes
Modernized workspace discovery inside the codebase by utilizing structured
JSON data directly from pub tool invocations.
Hide version labels for primary node packages intentionally marked publish_to: none.
Display a helpful warning message if pubviz runs inside a workspace root
missing the --workspace flag.
Fixed a bug causing wrong colors on hover interactions over outdated packages.