Mainly diagram