Hi,
The diagram in the Class Hierarchy Example is generated by the Nevron Class Importer in the InitDocument method:
NClassImporter importer = new NClassImporter(document);
importer.ImportInActiveLayer = true;
importer.Import(type);
The Class Importer class importer class automatically creates UML shapes for a given type and its descendants.