Add bash script to draw network
Refactor graph generation