本文定义新的顶点类高效存储图的拓扑信息,在类中封装了类成员及相应的方法,实现了模块化和信息隐藏;运用COM 组件技术很好地实现数据结构可视化,解决了数据结构课程学习和程序设计中不能形象直观显现所建数据结构的难题。 关键词 COM 组件技术 数据结构 可视化 Abstract: This article has defined the new vertex class to store the topological information of the graph efficiently which has packaged the class member and the corresponding method,has realized the modulation and the information hidden, using the COM component technology has realized the data structure visualization better, and also has solved the difficult problem that could not reveal the data structure vivid and directly in the data structure and the programming. Keywords: COM component data structure visualization