8 ms·
Like Draw.io: Drawing draggable components with pure HTML and JavaScript and CSS
Dragging and keeping stuff on position can be done with HTML5's drag API
http://jsfiddle.net/xameeramir/g063nxfs/
The elements can be connected to each other using pure HTML + CSS
https://jsfiddle.net/xameeramir/br7zj9qu/