removed method draw_network (generation of graph is now controlled by boolean flag)