edges are now properly created! They wont go through walls anymore. It can happen that when crossing a door, no edge is created at all, i.e. a gap is created in the map. Next step: fix that