Added node parent and edge label support.