Architecture diagram connections

Technical architecture diagrams are the hardest thing to read on a landing page — everything arrives at once and the eye has nowhere to start. Animating only the connections fixes that: the service boxes are visible from the outset, and the wires draw in request order, so the reader traces the path a request actually takes rather than decoding a static graph.

06selector · stagger · ease-out

The code

An edge cloud's home page. The request diagram explains itself in order as it scrolls in — visitor, edge, then the function, cache and database it fans out to — each box and arrow drawing a beat after the last.

Hero.tsx16 lines
<ScrollDraw
  selector=".draw"
  trigger={{ start: 'top 85%', end: 'top 35%' }}
  stagger={0.1}
  easing="ease-out"
  once
>
  <svg viewBox="0 0 820 340">
    {/* DOM order is drawing order */}
    <path className="draw box"   d={roundRect(visitor)} />
    <path className="draw arrow" d={elbow([visitor, edge])} />
    <path className="draw box"   d={roundRect(edge)} />
    <path className="draw arrow" d={elbow([edge, fn])} />
    …
  </svg>
</ScrollDraw>
Northbeam, an edge cloud for apps and apis: the first screen of its demo site

An edge cloud for apps and APIs

Northbeam

Live site

Related examples

Make your own in the SVG shape to path converter: set it up, watch it run, copy the code.

MIT licensed, zero runtime dependencies. Every API is a separate entry point, so you only ship what you import. Full API reference →