// parse line by line // check if passes, if not throw error // for each transition, verify right hand side exists // if comment then skip //graph.addnode // graph.create relation, edge == action // graph.exists if node not exists then throw error