Shows a rooted tree (connected and acyclic) with a distinguished root A. The animation cycles through non-root nodes x, highlights the unique edge from parent(x) to x, and marks leaves (no children) and the root to clarify parent-child direction.
Uses a fixed small rooted tree layout with grid-snapped, orthogonal polylines for a blocky aesthetic. Time-based cycling selects a node x every ~900ms; easing/pulsing highlights the unique parent(x) edge. Responsive scaling via scale = min(w,h)/baseSize and a faint grid background.