# How SVG Single Line Diagram

**URL:** <https://forum.inductiveautomation.com/t/how-svg-single-line-diagram/94168>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 5, 2024, 1:57pm UTC](https://forum.inductiveautomation.com/t/how-svg-single-line-diagram/94168 "2024-08-05T13:57:10Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [August 5, 2024, 7:36pm UTC](https://forum.inductiveautomation.com/t/how-svg-single-line-diagram/94168/15 "2024-08-05T19:36:33Z")

</div>

What you should do is create basic templates and UDTs for each device/equipment in your system that matches up with the AOI for said device/equipment, doing it in such a way that I can add multiple different instances to the same window.

For instance, for a pump it would be something like:

1. pump port location (INT 0-3)
2. pump port direction (BOOL - horizontal/vertical)
3. base location (INT 0-3)
4. label string (STRING)
5. instance path (STRING - path to UDT instance)

(for vision) I use basic rectangles for pipes, instead of the more detailed ones. I use the built-in P&ID pipes for perspective. I've also developed a method of using [coordinate containers for process layouts/overviews on Perspective](https://forum.inductiveautomation.com/t/using-pipes-with-flexible-screens-flex-containers/70727/4).

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-svg-single-line-diagram/94168)._
