> I haven't found much about this. Could someone, possibly provide a 
> minimalistic example 
> about drawing a bipartite graph in python?
Errrrm.... how are bipartite graphs different from ordinary graphs when it 
comes to plotting? :) AFAIK you could simply use plot(g) to plot a graph no 
matter whether it's bipartite or not. If you want to color the nodes 
differently depending on which part of the graph they belong to, you could do 
something like:

plot(g, vertex_color=["red" if type == True else "blue" for type in 
g.vs["type"]])

(Assuming that the "type" vertex attribute contains which part of the graph the 
vertices belong to).

T.

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to