I have a graph which is divided on levels i.e. f.e. :
ids : 0 - 100 are lowest level ids : 101 - 500 are level 2 ids : 501 - 1500 are level 3 and so on ... <
You can use this pymnet library http://www.mkivela.com/pymnet/visualizing.html or multinetx library https://github.com/nkoub/multinetx
pymnet
multinetx