ObjectGraph stores edges in a std::set.
Reworked ObjectGraph storage for edges and improved findEdge().