[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
Gephi forumsPlease post new questions on facebook group too (https://www.facebook.com/groups/gephi) 2016-06-14T21:31:40+01:00 https://www.forum-gephi.org/app.php/feed/topic/5283 2016-06-14T21:31:40+01:002016-06-14T21:31:40+01:00 https://www.forum-gephi.org/viewtopic.php?t=5283&p=12745#p12745 <![CDATA[Re: Calculate weight by number of parallel edges?]]>
I am working on a dynamic network visualization and would like to see the edges grow as well as the nodes. The columns in my actual data file are:
(Source, Target, Type, Id, Label, Interval, Weight, firstDate, secondDate, otherVar, and otherVar2). I believe I am getting multiple edges between the same nodes because the variables are different. For my dynamic visualization, however, I would like to combine the weights between the same source and targets regardless of the values of other variables. Is this possible?

Statistics:Posted by bspitch — 14 Jun 2016 21:31


]]>
2016-06-14T19:42:46+01:002016-06-14T19:42:46+01:00 https://www.forum-gephi.org/viewtopic.php?t=5283&p=12743#p12743 <![CDATA[Re: Calculate weight by number of parallel edges?]]> Having this file

CODE:

A;BA;CB;CB;CB;C
And just File >> Open on Gephi will do the job

If you have a weight that can be different than 1, I think it's not possible to do it in CSV. Then create a gdf file like this

CODE:

nodedef>name VARCHARABCedgedef>node1 VARCHAR,node2 VARCHAR,weight DOUBLEA,B,1A,B,5A,C,1B,C,1B,C,1B,C,1
And File >> Open do the job correctly

Statistics:Posted by totetmatt — 14 Jun 2016 19:42


]]>
2016-06-14T16:43:56+01:002016-06-14T16:43:56+01:00 https://www.forum-gephi.org/viewtopic.php?t=5283&p=12737#p12737 <![CDATA[Calculate weight by number of parallel edges?]]>
I am trying to calculate an edge weight based on the number of parallel edges between nodes. For example, my data include:

source, dest, weight
A, B, 1
A, C, 1
B, C, 1
B, C, 1
B, C, 1

In the above example, I would like to display the data as:
A, B, 1
A, C, 1
B, C, 3

Is there a way to do this? I am using the streaming plugin from an OrientDB database.

Thank you

Statistics:Posted by bspitch — 14 Jun 2016 16:43


]]>