Flowsheet drawing optimizations