drawing flow diagram