I was working with grouping nodes based on attributes (Group column for the example below). After I grouped the nodes and the meta-edge weight is not summed as expected. The meta-edge between meta node for group A and the expanded group B should have a weight of 300400. However, the meta-edge's weight is 30041. I was wondering how the meta-edge weight calculation is done and if there is a way to sum the weight in the way that's expected? Thanks a lot in advance!
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://www.gexf.net/1.2draft" version="1.2" xmlns:viz="http://www.gexf.net/1.2draft/viz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.gexf.net/1.2draft http://www.gexf.net/1.2draft/gexf.xsd">
<meta lastmodifieddate="2014-03-17">
<creator>Gephi 0.8.1</creator>
<description></description>
</meta>
<graph defaultedgetype="directed" mode="static">
<attributes class="node" mode="static">
<attribute id="Group" title="Group" type="string"></attribute>
</attributes>
<nodes>
<node id="1" label="NodeA_1">
<attvalues>
<attvalue for="Group" value="A"></attvalue>
</attvalues>
<viz:size value="10.0"></viz:size>
<viz:position x="197.23116" y="48.966156" z="0.0"></viz:position>
<viz:color r="172" g="41" b="41"></viz:color>
</node>
<node id="2" label="NodeA_2">
<attvalues>
<attvalue for="Group" value="A"></attvalue>
</attvalues>
<viz:size value="10.0"></viz:size>
<viz:position x="-64.97117" y="70.5424" z="0.0"></viz:position>
<viz:color r="172" g="41" b="41"></viz:color>
</node>
<node id="3" label="NodeB_1">
<attvalues>
<attvalue for="Group" value="B"></attvalue>
</attvalues>
<viz:size value="10.0"></viz:size>
<viz:position x="156.34015" y="-423.68698" z="0.0"></viz:position>
<viz:color r="41" g="172" b="172"></viz:color>
</node>
<node id="4" label="NodeB_2">
<attvalues>
<attvalue for="Group" value="B"></attvalue>
</attvalues>
<viz:size value="10.0"></viz:size>
<viz:position x="-39.630035" y="-428.65048" z="0.0"></viz:position>
<viz:color r="41" g="172" b="172"></viz:color>
</node>
</nodes>
<edges>
<edge source="1" target="2" weight="20000.0">
<attvalues></attvalues>
</edge>
<edge source="1" target="3" weight="300000.0">
<attvalues></attvalues>
</edge>
<edge source="2" target="3" weight="400.0">
<attvalues></attvalues>
</edge>
</edges>
</graph>
</gexf>