improve the look of hyperlens diagram: let edges connect to node boundaries properly