Create Util class for diagrams