title: Python/JavaScript/HTML create a computer network diagram dynamically
body: <p>I want to create a computer network diagram dynamically on UI, with the network diagram having switches, routers and other devices and these devices are connected with links and i need to label these links at both ends of the devices being connected by a particular link.</p>
  
  <p>I am open to creating this image from backend, I have python for backend, with any image creation library. Though i would still prefer if there is any way to do it with any JS module, if available. In python i came across one library PIL.</p>
  
  <p>Could you please point me to any JS modules that can help me do this, or any python module which would best suite the requirement.</p>
  
  <p>Thanks in advance.</p>