001940: The diagram template is used by a tier. It cannot be deleted.

Description

You cannot delete a diagram template until it is tied to subnetwork definitions.

Solution

Delete all the subnetworks a diagram template is tied to before deleting the diagram template itself