For the network visualization, I used graphviz and the python module also called graphviz. For the prime decomposition, I used factorint from sympy.ntheory. It looks like a powerful function, which ...