Choose the source node as an existing node from the graph
Added set_weight to Weight trait