Don't take this the wrong way, but your questions so far suggest that you lack the programming ability to complete this project. Have you worked with graphs before, in any format?
The flooding algorithm itself is pretty trivial, conceptually:
foreach (link in node)
if (not received(link, packet)) then
Most of the work is creating the simulation and metric gathering details.
Yes you are right, I lack the programming skills but I need to complete it. The hard or the easy way. I dont understand what do you mean by graphs. In programming you mean? I dont think so... So the algorithm you mention here it should work?