Add options -c and -l.

   -c     Draw the complete graph (careful!)
   -l     Show edge length labels

Also do a bit of cleanup.