animate a graphviz SVG visualization of dependencies defined by a Makefile according to the duration of each file creation
Using make2graph, the Makefile in the test directory leads to the static visualization as visible in the left SVG.
In combination with the start and end times of the file creation (simulated by sleep in the test Makefile) and aniMakefileSVG.pl this SVG can be animated.
The animated SVG (aSVG) in the middle shows the result from make
working in serial mode (-j1
) and the aSVG on the right from make
working in parallel (e.g. -j6
).
The animation is realized with SMIL (apparently the least invasive method). The aSVG can be "rendered"/converted into videos with e.g. MP4client, SVG Salamander or canvg, e.g. in case SMIL gets deprecated in recent web-browsers.