Jonas Ellert
IMADA - SDU Odense
Decker compiles TikZ through plain pdflatex, not through Beamer, so \onslide/\visible are not available directly.
The trick: render one complete picture per layer, stack the layers on top of each other with CSS, and drive their visibility with reveal.jsâs fragment classes:
.fragment alone â hidden at first, fades in on its step and stays.fragment .fade-out â visible from the start, fades out on its stepLayers appear in document order by default (first fragment = step 1, and so on), so put whatever should vanish last last in the source â its own step still fires whenever you place it in the sequence.
.fade-out, not a fade-inEvery layer is an independent picture, so a node, edge, color, or label can appear, change, or vanish on its own step, just like a Beamer overlay.