Add general diagram