The invention discloses a management method of graphs based on dwg and dxf file formats and belongs to the technical field of document processing. The graph management method includes utilizing Access to build a graph title bar information database, determining a method for accessing the database as ODBC (open database connectivity), accessing the database on the basis of ODBC, enabling ODBC to be connected with a data source, extracting graphic element information in a dxf file through VisualC++, storing data in the dxf file into the database and a dynamic array which is arranged, building a three-view management interface, and using an ActiveX control to realize previewing display of a dwg file; performing addition, deletion, inquiry, previewing and translation on the graph database. Graph positioning is realized directly according to information of a graph title bar, the ActiveX control is combined, and an AutoCAD-based dwg and dxf file format graph database management system is development, so that quick, safe and effective management on graphs drawn by AutoCAD is realized.