docs: reinstate inheritance diagram