srg graph first time used
path book print only at the end