I am working on a project that requires specific direction of arrows.but I am
facing an issue ,let me illustrate .
If i add an edge between two vertices (0,1) and second edge (1,0),and i make
the graph a directed one , both the arrows point to 1 instead of one pointing
to 0 and other to 1.
i am adding a file as an illustrator to my issue ,please help if you know a way
out
from igraph import *
import cairocffi
g = Graph()
g.add_vertices(3)
g.add_edges([(0,1),(1,0),(2,0),(0,2)])
for i in range(3):
g.vs[i]["name"] = i
visual_style = {}
visual_style["vertex_label"] =g.vs["name"]
g.to_directed(False)
plot(g,"a.pdf",**visual_style)
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help