The strange storing of what's really an array of links into a hash aside, I'd parse your edge information out and use Graph.
In reply to Re: traversing a hash looking for path?
by Fletch
in thread traversing a hash looking for path?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |