Add dependency diagram drawing functionality
Correct classes sorting in visualizer