A device that programs a medical device includes a display and a user
input device. The device displays a graphical representation of a
plurality of electrodes on a medical lead implanted in the patient, and
displays an active electrode template at a first position relative to the
graphical representation of the electrodes. A processor of the device
receives input dragging the active electrode template. In response to the
input dragging the active electrode template, the processor adjusts at
least one parameter of electrical stimulation delivered to the patient
via the lead based on the position of the active electrode template
relative to the graphical representation of the electrodes on the medical
lead.