parser to graph vertex/edge working