Adding method(s): getEdges and findIsolated.