Top "Edge-list" questions

Use [edge-list] for questions about creating, converting, or working in general with a list of edge nodes/vertices from a spatial network or graph.

How to change edges' weight by designated rule?

I have a weighted graph: F=nx.path_graph(10) G=nx.Graph() for (u, v) in F.edges(): G.add_…

python algorithm networkx edge-list
How to create an edge list from a matrix in R?

The relationship is expressed as a matrix x like this: A B C D A 0 2 1 1 B 2 0 1 0 C 1 1 0 1 D 1 0 1 0 The entries …

r list matrix social-networking edge-list
How can I generate rectangle style edges instead of curves in GraphViz?

I have generated Graphviz images with the dot language using the Pydot Python library. But the edges are getting draw …

python graph-theory graphviz edge-list
Import weighted edgelist using igraph

I have the following txt file representing a network in edgelist format. The first two columns represent the usual: which …

python r igraph edge-list