Removed recursion on collecting hierarchical schema information. Instead, collect schema information at the start of method generateERD().
Use getGlobalDescribe to collect all object types, with sorting, place in visual force page available entity section.