[igraph] Custom directed weighted bipartite graphs
2012-05-01 08:54:10 GMT
I have an incidence matrix, suppose it:
R1 R2 R3
A -1 0 -1
B 1 -1 0
C -1 -1 0
D 0 1 1
E 0 0 1
I would like to build a bipartite graph in igraph by following rules:
- Edge directions should be determined by sign, i.e. when matrix entry is negative then direction is row-to-column, if it is positive then inverse direction. For example in first column, A and C connect to R1 but R1 connects to B.
- Graph should allow m<-1 and m>1 matrix entries for example -2, 3, etc. If this is the case, I wonder does igraph evaluate them as weight or attribute?
Chief Science Officer
Grafen Chemical Industries
A Subsidiary of Hayzen Engineering Co.
24. cad. KA-CL Is Merkezi
No: 165/60 Ivedik OSB-Industrial Zone
06370 Ankara, TURKEY
_______________________________________________ igraph-help mailing list igraph-help@... https://lists.nongnu.org/mailman/listinfo/igraph-help