A Tidy Drawing Problem on the Minimum Area for Tree-Structured Diagrams and Its Application to Program Development