This is a simple javascript library to use alongside HTML, this library has a class that modify a HTML canvas to show blocks with output points that can be connected to input points. A block can be moved, selected, new connections can be created and old ones deleted or modified.
Tested with 'Firefox 67.0.1' on Linux(4.19.49-1-MANJARO)