fin1te/dsv1.0.0
  1. ds
  2. Components
  3. Figure frame

Figure frame

The Fig. 01 frame with legend and inspector.

Fig. 01Order pipeline5 components · 5 links
3 stepsWalk through with the arrows
HTTPSreadsKubernetes · prodCustomersweb · mobileAPIFastAPI · 3 podsOrder workerconsumes orders.v1Kafkaorders.v1PostgreSQLorders, payments

Every architecture diagram on fin1te.com and in topo's present mode sits in this frame: a header with the figure number, a dot-grid canvas, a legend, and an inspector on the right that opens when you select a component. Hover a component to light up what feeds it and what it feeds. Use the arrows in the bar to walk through it.

Anatomy

<figure class="sd">
  <header class="fh">
    <span class="fn">Fig. 01</span><span class="ft">Order pipeline</span>
    <span class="fc">5 components · 5 links</span>
  </header>
  <div class="canvas">
    <div class="stepbar">…</div>              <!-- optional walkthrough -->
    <div class="scroll"><svg class="tp">…</svg></div>
    <div class="legend"><span><i class="lg data"></i>data</span> … <span class="hint">Select any component</span></div>
  </div>
  <aside class="insp" aria-live="polite">
    <div class="insp-card" data-for="api">
      <p class="label">Compute</p><h3>API</h3><p class="sub">FastAPI · 3 pods</p>
      <p class="role">Accepts orders…</p>
      <dl><div><dt>Latency</dt><dd>p99 40 ms</dd></div></dl>
    </div>
  </aside>
</figure>
ClassOnWhat it does
.sdfigureThe frame. Two columns from 1000px: canvas and inspector.
.no-insp.sdNo inspector column.
.fh .fn .ft .fcheader, spanHeader, figure number, title, count.
.canvas / .scrolldivDot grid; the SVG scrolls sideways on small screens (32rem minimum).
.legend .lg .lg-store .lg-hostdiv, iLegend and its swatches: data, control, fallback, stream, storage, workload.
.insp / .insp-cardaside, divInspector and one card per component.
.stepbardivWalkthrough bar: previous, count, next, play, time, caption.

Accessibility

  • Components are focusable buttons with an aria-label of label and subtitle; Enter selects.
  • The inspector is aria-live="polite", so a selection is announced.
  • The flow animation pauses off screen and stops for prefers-reduced-motion.