How to Use Graph

Another question.

In the graph, I want the score to be the edge between the nodes, how can I do that ?

For example, I want to have three nodes A, B and C and the score to be the value of the links between them.

Thank you