simple yet fast weighted undirected graph simulator