The invention relates to a method for generating an IED network graph. The method comprises the following steps that first, a
network topology is generated, wherein the
network topology of an IED equipment
layout object is generated according to sub-network entries corresponding to communication entries in model data; second, automatic
layout is carried out, wherein IED equipment which is directly connected with a subnet is allocated first, and then grouping
layout is conducted within a subnet range until the overall
network layout is completed; third, grid wiring is carried out, wherein a
grid reference line is set according to all
graphics primitives which are completed in the second step in a layout mode, grid line cross points are traversed in all directions, and finally a connecting line path of the
graphics primitives is achieved; fourth, layout examination is carried out, the layout is completed when no intersection exists, and secondary line connection is performed according to the connecting line crossed condition when intersection exists; fifth, an IED network is generated automatically, and the network graph is output. By the adoption of the method, the defect of a single
algorithm is overcome, a more
efficient algorithm with a reasonable logical layout can be developed according to a network
graph model, the method can be adapted to different
data model demands,
network topology data modeling is facilitated, and the generated IED network graph is clear in line.