rewrote graph.js into network.js, to be used with confirmedReport widget also