public static DiagramView GetActiveDiagramView(this ModelElement element)
        {
            ShapeElement shapeElement = element.GetShapeElement();

            return(shapeElement?.GetActiveDiagramView());
        }