refactors network extraction to make testing easier, fixes #42
tweaks the sigma.js parameters to make it work for larger networks