updates to js-multigraph creating release v4.0