Created attachment 130573 [details] Illustrates the behavior described SUMMARY The generalization starts from the derived class and is directed toward the base class. In a class diagram, if the derived class is templated with many parameters, the generalization line starts too far away from the top line of the class' containing box. STEPS TO REPRODUCE 1. Create two classes and add four template parameters to one of them; 2. Add both classes to a class diagram 3. Draw a generalization from the templated class to the other one. OBSERVED RESULT The generalization appears to begin at the vertical coordinate of the template box, not of the class containing box (see attached PNG file). EXPECTED RESULT Line should start at the top of the class box. SOFTWARE/OS VERSIONS Linux Ubuntu 18.04.4 Qt Version: 5.x ADDITIONAL INFORMATION Not sure how difficult it would be to change this behavior without introducing other bugs. One can always export the diagram as an image and fix it with the GIMP or another paint program. At any rate, it is definitely only a minor problem.