[igraph] How to make graph with multiple edges on the same plot ?
From:
address@hidden
Subject:
[igraph] How to make graph with multiple edges on the same plot ?
Date:
Tue, 12 Feb 2013 15:11:42 +0100
Hi,
I have two symmetric matrices with the same dimensions and names of rows and columns, representing two networks. When there is zero, there is no link, otherwise value indicates link with given weight (strength).
I would like to visualize these two networks on the same plot, because nodes have the same names, they should be combined, but it should be possible to display multiple edges with not overlapping labels (weights). It should be possible to distinguish weights and edges from which network they come from.
So basically we have g1 and g2, which I want to plot together, but the edges in g1 and g2 should be treated as multiple edges in new graph with different colors, and also non-overlapping weights as labels (also colored).
Can you help me to solve this ? How to make such a plot ?