tweak diagram