despaghettify

Etymology
From, compare.

Verb

 * 1)  To refactor spaghetti code.