Simplified implementation of Walker's algorithm for drawing nodes and (labeled) edges