Draw the diagram in e.g. Inkscape and add `class="animatedLine"` to the desired paths (select the path and hit CMD+Shift+X).
BTW, in Inkscape, you can Path -> Reverse if it's animated the wrong way.
document.querySelectorAll('.animatedLine').forEach(animateLine)
function animateLine(elem) {
elem.style.strokeDasharray = '6 1'
elem.style.strokeDashoffset = elem.getTotalLength()
requestAnimationFrame(anim)
function anim() {
elem.style.strokeDashoffset -= 0.2 // speed
requestAnimationFrame(anim)
}
}
https://blog.uidrafter.com/freebsd-jails-network-setup#-diag...