I would have thought that the graph algorithm picks up the column weight in edge data frame automatically but it does not as shown in the following code:
node