diagram, text path, adjust threshold