simplified directed and undirected edges in tikz, slight changes to essay