Parser can now handle interspersed node and edge statements