Create a directed graph that visualizes the inheritance structure of a Ruby project.