(R language) Understanding what is a “weighted” graph
问题 I am using R and the igraph library to learn about network graph data. In particular, I am trying to understand the concept of a "weighted graph" - from what I have read, the "weights" are generally associated with the "Edges" in the graph. But can the "weights" ever be associated with the "nodes"? (sometimes, I see that "nodes" are also referred to as "vertexes") Suppose I have two datasets : one for the nodes and one for the edges. library(igraph) library(visNetwork) Nodes <-data.frame(