adding a missing parameter in networkx_figure constructor (host) + adding a method to save figure into files