But you could find another way to show us the relay connection. Really, it's confusing unless you already have it in front of you, as you presumably do. Like a schematic or wiring diagram. How is the relay driven? I/O pins really don't have enough power for most relays.
Also if the relay is at all unconventional, please link to some specs.