I am using RDKit to extract an ERG [1] (Extended Reduced Graph) Graph for a particular molecule. After the extraction of the ERG graph form the original molecule I am creating a