re-enabling weighted graph, using basic rules