add inheritance graph