A new state law is redefining which courses count towards required graduation credits and which ones should only be taught as electives.