I use NetworkX to create a set of nodes and edges and export them into GML format so that I can view them on Gephi 0.9.1 version. When I import the following GML:
graph [
multigraph 1
directed 0
node [
id 0
label 1
]
node [
id 1
label 2
]
edge [
source 0
target 1
key "rel2"
]
edge [
source 0
target 1
key "rel1"
]
]
Gephi shows the following popup:
It said Multi Graph: no
while in the GML it is stated multigraph 1
.
Gephi automatically merges the edges, and sets the weight to 2
, as below:
How can I configure Gephi to read a multigraph? Should I change my GML or any settings in Gephi? Or it is a bug?