refined and generated graphs