Suppose I have an undirected graph
G = Graph[{1 <-> 2, 2 <-> 3, 2 <-> 3, 3 <-> 4}]
I used FindPath[G,1,4,Infinity,All]
and obtained the result
{{1, 2, 3, 4}}
But the expected result should be
{{1,2,3,4},{1,2,3,4}}
Is there any way to get all possible paths even though any number of edges are present in between two vertices?