Add as_canon Graphviz format

This is useful for debugging graph building
Update graph edge directions for device topo

Adjust the graph edges so that "Up" devices appear to the left and
"Down" devices appear to the right.

Fixes redmine #1824