Changes to type definition store in the GraphType object
Refactoring node, type dictionaries for more intuitive operation