Add an edge from source to destination . A new element is inserted to adjacent list of source .
if source not in self . graph : NEW_LINE INDENT self . graph = { destination } NEW_LINE DEDENT else : NEW_LINE INDENT self . graph . add ( destination ) NEW_LINE DEDENT