This page is an example of HTML/JS interacting with the lstopo SVG output.
Load a SVG that was exported with lstopo's native SVG backend (e.g. with lstopo --of nativesvg foo.svg):
Click on a box to change its background color and replace its first text line (if any) with its SVG object id.
Make boxes draggable