The present invention provides a method for generating a power system power flow wiring diagram, a generating device, an electronic device, and a computer-readable storage medium, wherein the method for generating a power system power flow wiring diagram includes the following steps: Step S1, read the file and The file is analyzed for text, and the file includes a topology file, a power flow file, and a graphic file; step S2, a memory unit is established, and the memory unit includes a network topology and a graph structure, wherein the network topology is based on the topology file Generate with described tidal current file, graphic structure is based on graphic file generation; Step S3, set up graphic element management module, described graphic element comprises plant station and edge, the management of plant station includes adding plant station mark and graphic data, the management of edge includes Add edge labels and vertex sets; step S4, select busbars and plant icons in the plant station in the graphic element management module according to the graphics drawing requirements, so as to draw the plant station to a designated position in the graphics area.