use python package networkx to compute the shortest path (if any) between all of the top level functions and non-const static variable access