optimized  _make_networkx
optimized  _make_networkx

runs 50% faster then before vectorization


Former-commit-id: 9e3ea6d89460284056cca8c59ded98c050dbe297 [formerly 134bb1e1b14dde36a31913868130db993c37f061]
Former-commit-id: b4bc7da23fd39575f9114c7e1aed891df9c0cbbe
moosekaka/sweepython