Fix addEdge() and cosmetic change