Three simple/elementary questions for first attempts of using LightGraphs:
Ma matrix, command
g = DiGraph(M)produces the graph I’m interested in, but how does LightGraphs know whether
Mis meant to be an adjancency matrix or an incidence matrix?
- If an adjacency matrix is assumed, what happes if the non-zero elements of
Mare floating point numbers and different from
1.0? Are they converted to
1.0? Or are the numbers preserved and used as, say, some weights?
- Suppose I want to plot the graph using
GraphPlot, and that I have specified different colors for the various nodes using
gplot(g,nodefillc = V)where
Vis a vector of colors. Is there a separate keyword for specifying the alpha color, valid for all nodes?