This paper designs and develops autogeneration system of flow diagram by using database and computer advanced programming language.The system can realize the autogeneration and real-time alteration of flow diagram that will remarkably increase the efficiency of flow diagram,saving time labour, material and money,which has great pratical value.