graph generation modified