refactor tikz edge drawing