Add isXXXDiagram() helper methods to the UMLScene class and use them everywhere

Authored by habacker on Aug 7 2019, 7:26 PM.