how to add the weight of the node ?
how to add the weight of the node ?