## 5 Conclusions  
This paper presents an innovative approach to visual modeling for ship piping systems, aimed at addressing the challenges faced by traditional programming methods when handling complex piping networks. The method combines SVG images with WPF controls, utilizes YOLOv5 for object detection, generates corresponding CSV files, and, finally, \begin{table}
\begin{tabular}{c c c c c c c} \hline \hline
**PipeID** & **Name** & **PipeDirection** & **PipeConnectA** & **PipeConnectB** & **IsSource** & **IsTerminal** \\ \hline
31 & & CC & 238, 27B & 32A, 34A & FALSE & FALSE \\
32 & LineValve21 & BA & 31B, 34A & & TURE & FALSE \\
33 & & CC & 25B, 26A & 40B, 41A & FALSE & FALSE \\
34 & & CC & 31B, 32A & 35A, 36A & FALSE & FALSE \\
35 & LineValve22 & BA & 34B, 36A & & TURE & FALSE \\
36 & & CC & 34B, 35A & 42B, 46A & FALSE & FALSE \\
37 & LineValve23 & BA & & & 39A, 43A & FALSE & TURE \\
38 & LineValve24 & BA & & 39B, 40A, 44A & FALSE & TRUE \\
39 & & BA & 37B, 43A & 38B, 40A, 44A & FALSE & FALSE & FALSE \\
40 & & BA & 38B, 39B, 44A & 33B, 41A & FALSE & FALSE & FALSE \\
41 & LineValve25, LinePump4 & BA & 33B, 40B & 42A, 47A & FALSE & FALSE & FALSE \\
42 & LineValve26 & BA & 41B, 47A & 36B, 45A & FALSE & FALSE \\
43 & LineValve27 & AB & 37B, 39A & & FALSE & TRUE \\
44 & LineValve28 & AB & 38B, 39B, 40A & & FALSE & TURE \\
45 & & BA & 36B, 42A & 46A, 48A & & \\
46 & LineValve30 & BA & 45B, 48A & & TURE & FALSE \\
47 & LineValve29 & BA & 41B, 42A & & FALSE & FALSE \\
48 & & BA & 45B, 46A & 49B, 50A & FALSE & FALSE \\
49 & LineValve31 & AB & & & 48B, 50A & TURE & FALSE \\
50 & LineValve32 & BA & 48B, 49B & & TURE & FALSE \\ \hline \hline \end{tabular}
\end{table} 
Table 1: _Cont._  
Figure 11: Pipeline network display during program operation. uses C# for real-time computation and data display. This process significantly enhances programming efficiency and reduces the potential for human error. Firstly, the system provides an intuitive graphical interface, allowing users to complete complex piping designs through simple drag-and-drop operations, which greatly benefits nonprogrammers. Additionally, by customizing pipe attributes such as maximum flow rate and flow direction, the accuracy of the piping model is further improved. The use of SVG images ensures clarity across different display sizes, while the integration of YOLOv5 simplifies the object detection and data management process, ensuring the correct identification and positioning of each pipeline device. In terms of data processing, a Python program filters and processes the data recognized by YOLOv5, ensuring data integrity and accuracy, ultimately generating CSV files suitable for real-time computation. This method visualizes the complex piping design process, making data processing more efficient while ensuring the reliability and safety of the design. The C# program processes these CSV files in real time, ensuring real-time display and updates of flow and pressure data within the piping system, providing users with immediate feedback. In the future, this method is expected to be widely used in ship piping system design and education, playing a larger role in industry practices. It not only improves work efficiency but also enables nontechnical personnel to easily participate in the design and optimization of piping systems, promoting the shipbuilding industry toward greater intelligence and automation. Additionally, similar visual modeling approaches could be applied to the design and simulation of piping networks in aviation fuel, hydraulic, and air conditioning systems to optimize network layout and fluid flow. Conceptualization, X.W. and Z.H. ; methodology, X.W. and Z.H. ; software, X.W. ; validation, X.W., Z.H., S.L. and Z.Y. ; formal analysis, S.L. and Z.Y. ; investigation, S.L. ; resources, Z.H. ; data curation, X.W. and Z.H. ; writing--original draft preparation, X.W. ; writing--review and editing, X.W. ; visualization, X.W. ; supervision, X.W. ; project administration, X.W. ; funding acquisition, Z.H.