saveNetwork function

Save a network graph to an HTML file