HAVE
is a two-mode adjacency matrix of lead actors (ids in the 1st column) and supporting actors (ids in the column names).
f1 f2 f3 f4 f5 f6 f7
f1 0 1 0 2 5 0 6
f2 0 0 3 0 0 6 0
f3 9 4 0 1 0 0 0
The numbers in the matrix are film counts. The matrix is asymmetric. For example, f2 played the lead in a film with f3 in a supporting role three times, but f3 was the lead in a film where f2 supported four times.
I need to produce a directed graph where arrows are drawn from actors to supporters - the size of the arrow/arc needs to be proportional to the number of films
. See below for the mock-up of the f2-f3 dyad:
The identical naming conventions in both "modes" of the graph obviously cause problems. Let me know if you have any clear solutions, or if I'm not asking my question well (I'm new to igraph and two-mode projections). Thanks!