Better text handling for flowcharts