The first working version of graph parsing