Component
Flow Diagram
An animated architecture diagram, with three layouts: a hub and its sources, a decision tree, a request from end to end. HTML, CSS and JavaScript — no framework, no build step, not a single external request.
The three layouts
The bar at the bottom is made of native controls. Switch the JavaScript off and you can still go from one diagram to another, and from dark to light: it is CSS. What the script adds is the movement — the dots travelling, the path lighting up, the links filling in.
Request failed
One diagram, at another scale
Without a control bar, the component shows the diagram it is given,
and nothing else. Here there are only two sources and one target, and
the scene runs at --fd-font-size: 11px: no other value
has been touched.