Question: Something wrong with Max-Flow algorithm

I use the MaxFlow command from the GraphTheory package, but I don't understand the results that I get.
The max flow value is okay, but the matrix in which the flows from node to node are given, is not what I expected.

Is this problem caused by the fact that the graph is not directed? I don't want to use a directed graph, because flows can choose only one of both directions.

H:=Graph(6,{{1,2},{1,3},{2,4},{4,6},{3,5},{5,6},{4,5}},weighted):
DrawGraph(H,style=spring);
MaxFlow(H,1,4);

As a solution I get:

2, Matrix(6, 6, {(1, 1) = 0, (1, 2) = 1, (1, 3) = 1, (1, 4) = 0, (1, 5) = 0, (1, 6) = 0, (2, 1) = 0, (2, 2) = 0, (2, 3) = 0, (2, 4) = 1, (2, 5) = 0, (2, 6) = 0, (3, 1) = 0, (3, 2) = 0, (3, 3) = 0, (3, 4) = 0, (3, 5) = 1, (3, 6) = 0, (4, 1) = 0, (4, 2) = 0, (4, 3) = 0, (4, 4) = 0, (4, 5) = 0, (4, 6) = 0, (5, 1) = 0, (5, 2) = 0, (5, 3) = 0, (5, 4) = 0, (5, 5) = 0, (5, 6) = 0, (6, 1) = 0, (6, 2) = 0, (6, 3) = 0, (6, 4) = 0, (6, 5) = 0, (6, 6) = 0})

Here, I miss the flow from 5 to 4? Why?

Strange thing is, that if I use a directed graph, like this:

H:=Digraph(6,{[1,2],[1,3],[2,4],[4,6],[3,5],[5,6],[5,4]},weighted):
DrawGraph(H,style=spring);
MaxFlow(H,1,4);

Maple seems to get stuck on the calculations and keeps running for a very long time.
If I leave out the arc from 5 to 4, then there is no problem and the solution is found in a second.

What is wrong?

Thanks for the help!

Please Wait...