Cyclizing Clusters via Zeta Function of a Graph