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
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。