add inheritance diagram to models