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
description: Use HyperView's control-plane CLI for hyperview serve, dataset create, workspace create, embeddings compute, layouts compute, browserless paper figure export, runtime jobs, ui layout set, ui selection set, ui panel add, extension add, tools run, native module panels, backend tools, and local HyperView plugin workflows.
4
4
license: MIT
5
5
compatibility: Requires Python 3.10-3.13 and the hyperview CLI (`uv tool install --python 3.12 hyperview`). Runtime-control commands require a running HyperView server.
6
6
metadata:
@@ -29,6 +29,7 @@ HyperView currently supports Python 3.10 through 3.13; `--python 3.12` keeps the
29
29
- Start or control a running HyperView runtime.
30
30
- Register a custom embedding provider.
31
31
- Compute embeddings or layouts without restarting the UI.
32
+
- Export paper-ready static 3D embedding figures without a browser or Node runtime.
32
33
- Switch the active workspace, layout, or selection in a running session.
33
34
- Add or remove agent-authored native module panels from local files.
34
35
- Create, install, reload, or test a local plugin/extension with Python backend tools and a frontend panel.
@@ -41,7 +42,8 @@ HyperView currently supports Python 3.10 through 3.13; `--python 3.12` keeps the
41
42
4. Register a provider if needed.
42
43
5. Submit embedding or layout jobs through the runtime.
43
44
6. Use `hyperview ui ...` commands to switch what the live UI shows.
44
-
7. For plugins, create an extension folder and install it into the running workspace.
45
+
7. Export paper figures with `hyperview figure export` when the user needs screenshots or publication diagrams.
46
+
8. For plugins, create an extension folder and install it into the running workspace.
45
47
46
48
## Current model
47
49
@@ -54,8 +56,10 @@ HyperView currently supports Python 3.10 through 3.13; `--python 3.12` keeps the
54
56
- Plugins are repo-local extension folders with `extension.toml`, optional Python tools, and optional native panel modules.
55
57
- Plugin panels call backend tools through `HyperViewPanelSDK.hooks.useTool()` or `hyperview tools run`.
56
58
- In practice, create datasets and workspaces before starting the runtime for that workspace. The current runtime loads workspace registry state on startup.
59
+
-`figure export` is browserless and supports 3D layouts only. It reuses the persisted 3D camera for the layout when available, otherwise it chooses a paper-oriented default view.
60
+
- Paper figure defaults are square, white-background, opaque PNGs with a faint sphere guide and direct labels for small label sets.
57
61
58
-
Read [references/commands.md](references/commands.md) for command recipes covering datasets, workspaces, providers, embeddings, layouts, runtime UI state, selections, and jobs.
62
+
Read [references/commands.md](references/commands.md) for command recipes covering datasets, workspaces, providers, embeddings, layouts, paper figures, runtime UI state, selections, and jobs.
59
63
Read [references/native-panels.md](references/native-panels.md) when the task involves authoring or registering a custom panel.
60
64
Read [references/plugins.md](references/plugins.md) when the task involves backend-plus-frontend plugins/extensions.
61
65
@@ -75,6 +79,8 @@ Read [references/plugins.md](references/plugins.md) when the task involves backe
75
79
- For provider args, use repeated `--provider-arg key=value` flags.
76
80
- Treat the workspace as the durable unit. Changing datasets means setting a new workspace dataset, not switching among many datasets inside one workspace.
77
81
- Prefer native module panels over raw HTML. The panel system no longer relies on iframes.
82
+
- For paper diagrams, prefer `hyperview figure export` over browser screenshots unless the user explicitly needs exact UI chrome. It does not require Playwright, browser bundling, or Node at runtime.
83
+
- For publication figures, keep the defaults first: `--theme light`, `--guide-style paper`, and `--legend auto`. Use `--show-selection` only when selected samples are meaningful and will be explained in the caption.
78
84
- The first `uv run hyperview ...` invocation in a session can take 30+ seconds (torch/datasets imports). Allow generous timeouts and avoid sending SIGINT.
79
85
80
86
## Inspecting runtime state
@@ -85,4 +91,4 @@ The runtime exposes JSON discovery endpoints alongside the CLI. Use them to obta
85
91
-`GET /api/embeddings?workspace_id=<ws>`— the active or default layout, including `layout_key`, `geometry`, and sample `ids`. Use the returned `layout_key` for `hyperview ui layout set --layout-key ...` and pick from `ids` for `hyperview ui selection set --ids ...`.
86
92
-`GET /api/tools`— registered tool URIs (also returned by `hyperview tools list --json`).
87
93
88
-
Layout keys encode geometry and dimension as a substring (e.g. `..._euclidean_umap__2d_...`, `..._hyperbolic_umap__3d_...`). Match on those substrings when filtering by geometry/dimension.
94
+
Layout keys encode geometry and dimension as a substring (e.g. `..._euclidean_umap__2d_...`, `..._hyperbolic_umap__3d_...`). Match on those substrings when filtering by geometry/dimension.
If `--layout` is omitted, HyperView uses the active 3D layout when one is set, otherwise the first available 3D layout. Use `--layout active` when you specifically want the live UI's active layout and want the command to fail if none is active.
146
+
147
+
The export path is pure Python and does not require Playwright, browser bundling, Node, or a running frontend. It supports 3D layouts only; 2D layouts are rejected with a validation message.
148
+
149
+
Paper defaults are tuned for academic figures:
150
+
151
+
-`--width 900 --height 900 --scale 2`
152
+
-`--theme light`
153
+
-`--guide-style paper`
154
+
-`--legend auto` (direct labels for small label sets)
Use the 3D view selected in the UI by rotating the scatter panel first. HyperView persists the layout camera and `figure export` reuses it for that layout.
0 commit comments