flow diagram tweak