流程图编辑器功能界面椭圆是开始结束框平行四边形是输入框长方形是输出处理结果框箭头是控制流菱形是处理框数据结构•CObArray•箭头实体类当中增加他的起点以及终点图元,然后增加一个方法,在管理类中,功能是获取我的下一个箭头,并且要求指出要第几个箭头•优点:可扩展,可以保存残缺的图,用了模板增强了健壮性
类图classSystemAddLozengeDeal+AddLozengeDeal()+~AddLozengeDeal()+highlightIndex():int+IsInputRight(int):bool+IsOutputRight(int):boolCArrowhead-m_AdjustPoint:int-m_FocusPoint:int-m_Next:CGraph*-m_Previous:CGraph*-AdjustFocusPoint():void+AdjustSize(CPoint&):void+CArrowhead()+~CArrowhead()+Draw(CDC*):void-DrawArrow(CDC*):void+DrawFocus(CDC*):void-GetDistance(int,int,int,int):double+GetNextgraph():CGraph*+GetPreviousGraph():CGraph*+highlight(CDC*):void+IsControlFlow():bool+IsEditable():bool+IsIn(CPoint&):bool+IsOn(CPoint&):bool+IsOn(CConnectPoint*):bool+Move(int,int):void+Serialize(CArchive&):void+SetNextgraph(CGraph*):void+SetPreviousGraph(CGrap