I want to find minimum vertices that connect certain vertices to each other. For example, assume list of edges is connections = [(2,0),(0,5),(2,3),(3,4),(0,4),(4,1),(
connections = [(2,0),(0,5),(2,3),(3,4),(0,4),(4,1),(