Search for a given edge in graph
def searchEdge ( self , source , destination ) : NEW_LINE INDENT if source in self . graph : NEW_LINE INDENT if destination in self . graph : NEW_LINE INDENT print ( " Edge from { 0 } to { 1 } found . " . format ( source , destination ) ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( " Edge from { 0 } to { 1 } not found . " . format ( source , destination ) ) NEW_LINE DEDENT DEDENT else : NEW_LINE INDENT print ( " Source vertex { } is not present in graph . " . format ( source ) ) NEW_LINE DEDENT DEDENT