igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] Custom directed weighted bipartite graphs


From: İbrahim Mutlay
Subject: [igraph] Custom directed weighted bipartite graphs
Date: Tue, 1 May 2012 11:54:10 +0300

Hi,

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?

Best wishes.

İbrahim Mutlay
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
www.grafen.com.tr
Phone/Fax: +90-312-3948109
Mobile: +90-535-3033507


reply via email to

[Prev in Thread] Current Thread [Next in Thread]