Abstract: Optimizing Piping and Instrumentation Diagrams (P&IDs) in design and engineering is often hindered by manual and repetitive tasks, despite common, reusable patterns. This work leverages AI ...