On the straight line x=y, the neighborhood of every point is on this straight line, so it is an open set.
Any two points can be connected by a finite polyline completely containing E, which means that E is a simply connected domain.