Live visualization

verve.viz: layouts and charts computed in Zig, rendered as SVG server-side, made interactive by one island.

  • force/tree/radial/dag layouts with crossing minimization
  • wheel-zoom, pan, node drag, hover tooltips, subtree collapse
  • ● live streams server-pushed wire deltas over SSE every second
  • 16 chart types below the graph — all static SVG, zero JS

Guide: Visualization

Visualizations

Native verve.viz: SVG scene model, scales/axes, and tree/radial/force/dag layouts — computed in Zig, rendered server-side. The graph below is an island: nodes reveal on hydrate, yet the page is fully formed with JS off.

Force-directed graph — interactive

Scroll to zoom, drag to pan, drag a node (works past the svg edge — pointer capture), hover for a label, click to select, double-click to collapse a subtree (+N badge; double-click again to expand). +/− mutate the graph; ⟳ cycles tree/radial/force/dag with a tween; ● live streams server-pushed wire deltas over SSE every second — zoom, selection, and collapse all survive.

coreserverclientdesktopvizcli

Layered DAG

The src→emit skip edge spans 3 layers — it routes through virtual-node bends rather than cutting straight across.

sourceparseoptimizeemitlog

Edge routing — curved

edge_routing = .curved — the same DAG with Catmull-Rom splines through the via-points.

sourceparseoptimizeemitlog

Edge routing — orthogonal

edge_routing = .orthogonal — Manhattan runs through the reserved virtual-node channels, corners rounded.

sourceparseoptimizeemitlog

Crossing minimization — OFF

dag_crossing_iterations = 0 → A→Z, B→Y, C→X all cross (id-order).

ABCXYZ

Crossing minimization — ON

Default sweeps reorder the bottom layer to Z,Y,X → edges fan cleanly, zero crossings.

ABCXYZ

Bar chart

05101520JanFebMarAprMay

Stacked bar chart

0102030Q1Q2Q3Q4webapijobs

Grouped bar chart

05101520Q1Q2Q3Q4webapijobs

Candlestick chart

95100105110115MonTueWedThuFri

Box plot

20406080100p50p95p99

Heatmap

2185321274315965181100h06h12h18hMonTueWedThu

Radar chart

speedpowerrangesafetycostEVICE

Violin plot

1015202530ctrlA/Bnew

Line chart

01234502468

Area chart

01234502468

Scatter plot

12345602468

Donut chart

Sankey diagram

Weighted flows between columns — link width ∝ value, node height ∝ throughput.

requestscacheappdbresponses

Treemap

Squarified: leaf area ∝ value, nested by parent, colored by root.

nodevizsignalhttppushclientdesktop

Chord diagram

Pairwise flows around a circle — arc span ∝ row sum, ribbons connect nonzero pairs.

useuapac

← Home