corrected syntax for type graph