diagram tweak