一种具有输出分支的流程图生成方法及装置制造方法及图纸

技术编号:6080310 阅读:498 留言:0更新日期:2012-04-11 18:40
本发明专利技术提供一种具有输出分支的流程图生成方法及装置。其中,流程图生成方法包括:建立一流程中步骤节点、输出分支和连线的数据结构;根据所述数据结构调取步骤节点的步骤编号与输出分支的所属步骤编号相同的第一步骤节点和第一输出分支,并生成第一步骤节点图形及第一输出分支图形;遍历所述数据结构,调取第二步骤节点并生成第二步骤节点图形;根据所述数据结构生成所述第一输出分支图形与所述第二步骤节点图形之间的连线。本发明专利技术实施例生成的流程图将输出分支从步骤节点中分离出来,避免了现有技术中输出分支位于步骤节点图形内所造成的步骤节点文字覆盖输出分支的问题,使得流程图表示清晰、直观。

Method and device for generating flow chart with output branch

The invention provides a method and a device for generating a flow chart with an output branch. Among them, including the flow chart generation method: the steps of establishing a data structure in the process of node, branch and output lines; according to the first step of the node belongs to the steps of data structure transfer step node number and branch number of steps to output the same output and the first branch, and generates a first step node graph and the first output branch pattern; traversing the data structure, the transfer of second steps and second steps to generate node node graph; according to the data structure to generate the first output graphics and the second step branch line connecting node graph. The flow chart of the embodiment of the invention generates the output branch separated from the steps of nodes, avoid the text node in the existing technology step output branch is located in steps of node graph caused by the coverage of the output branch, the flow chart is clear and intuitive.

【技术实现步骤摘要】

本专利技术涉及图形绘制
,尤其涉及一种具有输出分支的流程图生成方法及装置
技术介绍
在图形界面中绘制生成流程图时,例如在图形界面中开发银行交易时,交易一般 由多个交易步骤组成,这些交易步骤之间的关系有顺序关系、分支关系、循环关系等。在流程图中,步骤之间若存在分支关系,例如,对于某一起始步骤的输出分支个数 至少为2个,现有技术中,该流程图的生成方法是在绘制起始步骤的矩形及各输出分支对 应分支步骤的矩形后,对起始步骤矩形和分支步骤矩形进行连线,然后根据输出对应关系, 在起始步骤的矩形内输入与各输出连线对应的表示分支的描述,如“分支1”、“分支2”、“分 支3”等,如图1所示。然而,该流程图生成方法在当起始步骤矩形内具有文字描述时,极易 将该表示分支的描述覆盖,使得该流程图表示不够直观。
技术实现思路
本专利技术实施例提供一种具有输出分支的流程图生成方法及装置,能够使得生成的 流程图更直观、清晰的表示各输出分支。为了解决上述技术问题,本专利技术实施例的技术方案如下一种具有输出分支的流程图生成方法,包括建立一流程中步骤节点、输出分支和连线的数据结构;根据所述数据结构调取步骤节点的步骤编本文档来自技高网...

【技术保护点】
1.一种具有输出分支的流程图生成方法,其特征在于,包括:建立一流程中步骤节点、输出分支和连线的数据结构;根据所述数据结构调取步骤节点的步骤编号与输出分支的所属步骤编号相同的第一步骤节点和第一输出分支,并生成第一步骤节点图形及第一输出分支图形;遍历所述数据结构,调取第二步骤节点并生成第二步骤节点图形,所述第二步骤节点是所述第一步骤节点的分支步骤,且所述第二步骤节点图形的数量与所述第一输出分支图形的数量相同;根据所述数据结构生成所述第一输出分支图形与所述第二步骤节点图形之间的连线,所述连线的起点处输出分支编号与所述第一输出分支的输出分支编号相同,所述连线的终点处步骤编号与所述第二步骤节点的步骤编号...

【技术特征摘要】

【专利技术属性】
技术研发人员:薛俊鹏吴会田振川李莹廖晓欢
申请(专利权)人:中国农业银行股份有限公司
类型:发明
国别省市:11

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1