Flooding edge or node weighted graphs | Read Paper on Bytez