adding diagram view to documentation