← Cycles
Qflow · c2

Layout Explore

archivedcreated 2026-02-18· last activity 2026-08-15

Layout exploration — centered grid + circular arc, enhanced traffic data, smooth rendering

New in this cycle: Layout strategies compared — packed grid, pyramid, circular, grid, arc for both ends

Why

The visualization needed more realistic traffic data with wider variation (hot/cold sources and destinations), a layout that better conveys the hub-spoke nature of network traffic (sources in center, destinations radiating outward), and smoother circle rendering.

Objective

Explore layout options for hub-spoke traffic visualization with enhanced mock data.

Scope

  • dev/experiments/c2.layout-explore/

Key Changes

  • New ArcLayout fullCircle mode — destinations evenly around 360° with concentric ring overflow
  • Grid layout auto-centered from client count
  • Arc radius computed dynamically from grid diagonal
  • Enhanced mock data (1500 logs) with power-law weighted traffic distribution
  • Circle rendering improved: soft outer glow ring + subtle stroke
  • Canvas antialiasing enabled

Outcome

Grid renders as a square and centers properly within the arc ring. Three bugs found and fixed in grid dimension math (column formula bias, cell spacing too small, off-by-one centering). Also fixed direction-unaware pulse paths and added responsive canvas via ResizeObserver.

Visual record

9 captures — heroes, page slices, and full-page renders. Click to view.

Default: circular sources → arc destinations
Default: circular sources → arc destinations
Pyramid sources → arc
Pyramid sources → arc
Packed grid sources → arc
Packed grid sources → arc
Grid sources → arc
Grid sources → arc
Grid → grid: the most orthogonal reading
Grid → grid: the most orthogonal reading
Grid sources → circular destinations
Grid sources → circular destinations
Arc → arc: twin crescents
Arc → arc: twin crescents
Circular sources → pyramid destinations
Circular sources → pyramid destinations
c2 hero

Artifacts

/experiments/c2.layout-explore/ (local dev)

Qpoint Brand Style Guide