[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) 2019-06-05T16:18:04+01:00 https://forum-gephi.org/app.php/feed/forum/23 2019-06-05T16:18:04+01:002019-06-05T16:18:04+01:00 https://forum-gephi.org/viewtopic.php?t=6653&p=15405#p15405 <![CDATA[Dynamics • Dynamic Edges from .csv import]]>
Each inventor has his or her own line meaning that in order to create an edgelist I need to first create an incidence matrix and then an adjacency matrix, which I'm doing in R using igraph and rgexf packages.

Here's what the incoming data looks like, you can see the multiple inventors for some inventions are given their own line for the same inventionID:

InventionId,DisclosureDate,InventorEMail,InventorCity,EndDate
81455383,3/7/2000,david.k,Beaverton, 11/1/2017
81455383,3/7/2000,ronald.s, Vancouver, 11/1/2017
81455383,3/7/2000,vladek.k,Beaverton, 11/1/2017
81455805,3/21/2000,howard.d,San Dimas, 11/1/2017
81455805,3/21/2000,paul.br,San Dimas, 11/1/2017
81456232,4/25/2000,alexey.k,San Dimas, 11/1/2017
81456285,4/27/2000,joan.v,San Dimas, 11/1/2017
81456347,5/1/2000,vladek.k,Beaverton, 11/1/2017
81456347,5/1/2000,will.al,Beaverton, 11/1/2017


I want to get to a DYNAMIC graph of co-inventor nodes wherein the edges are the inventions but I cannot figure out how to attach the DISCLOSURE DATE to the EDGE rather than to the inventor.

Here's the R script I'm using to pre-process the data. Right now it is set to attach the DisclosureDate and the EndDate to the INVENTOR (node) rather than the inventionID (Edge).

``library(igraph)
library(rgexf)
options(stringsAsFactors=FALSE) #make sure that countries shows up as characters for the nodes
dat<-read.csv(file.choose(),header=TRUE,encoding="UTF-8") #read in the raw data
incidence_matrix<-xtabs(~InventorEMail+InventionId,dat)
adjacency_matrix<-tcrossprod(incidence_matrix)
g<-graph.adjacency(adjacency_matrix,mode="undirected") #creates graph object for undirected graph
#Time to Link "City" to "Inventor"
ix<-match(V(g)$name,dat$InventorEMail)
V(g)$city<-dat$InventorCity[ix]
set.vertex.attribute(graph=g,name='city',value=dat$InventorCity[ix])
#TimeStamps
V(g)$start_date2<-dat$DisclosureDate[ix]
set.vertex.attribute(graph=g,name='start_date2',value=dat$DisclosureDate[ix])
V(g)$end_date2<-dat$EndDate[ix]
set.vertex.attribute(graph=g,name='end_date2',value=dat$EndDate[ix])
#Process for Gephi
g2<-simplify(g,remove.loops=TRUE,remove.multiple = FALSE) #Remove Loops from Dataset, keep duplicates
network.gexf<-igraph.to.gexf(g2)
f<-file("network.gexf")
writeLines(network.gexf$graph,con=f)``

Statistics:Posted by godot90 — 05 Jun 2019 16:18


]]>
2018-04-28T10:39:51+01:002018-04-28T10:39:51+01:00 https://forum-gephi.org/viewtopic.php?t=6516&p=15192#p15192 <![CDATA[Dynamics • Re: Time Interval - Gephi + Google Analytics]]>
Can you show a few rows of your data?

This might help too https://seinecle.github.io/gephi-tutori ... namic.html
https://github.com/gephi/gephi/wiki/Import-Dynamic-Data

Statistics:Posted by eduramiba — 28 Apr 2018 10:39


]]>
2018-04-26T21:28:38+01:002018-04-26T21:28:38+01:00 https://forum-gephi.org/viewtopic.php?t=6516&p=15189#p15189 <![CDATA[Dynamics • Time Interval - Gephi + Google Analytics]]>
this has been a challenge for me, but I hope any of you have the answer.

I collected the pages of my site on Google Analytics with the previous page path, separated by date and hour.

My point is: how can I set the data on a csv (node and edges) to make this work on Gephi?

Thanks a lot!

Statistics:Posted by thbarone — 26 Apr 2018 21:28


]]>
2018-04-18T14:31:05+01:002018-04-18T14:31:05+01:00 https://forum-gephi.org/viewtopic.php?t=6501&p=15172#p15172 <![CDATA[Dynamics • Re: Time interval]]> Statistics:Posted by eduramiba — 18 Apr 2018 14:31


]]>
2018-04-18T13:55:27+01:002018-04-18T13:55:27+01:00 https://forum-gephi.org/viewtopic.php?t=6501&p=15171#p15171 <![CDATA[Dynamics • Re: Time interval]]>
So, now the issue is that I have a xml file where the format of start time is YYMMDD hh:mm:ss and the type is string. When I modify it either as datetime,date or xsd:dateTime and then open my file with gephi I receive a message saying that it ignores my attribute because it does not recognise the type of data. Any suggestions?

Statistics:Posted by nikolkotz — 18 Apr 2018 13:55


]]>
2018-04-12T11:14:02+01:002018-04-12T11:14:02+01:00 https://forum-gephi.org/viewtopic.php?t=6501&p=15154#p15154 <![CDATA[Dynamics • Re: Time interval]]> In gexf format you can represent any interval: https://gephi.org/gexf/format/dynamics.html

Statistics:Posted by eduramiba — 12 Apr 2018 11:14


]]>
2018-04-11T13:05:29+01:002018-04-11T13:05:29+01:00 https://forum-gephi.org/viewtopic.php?t=6501&p=15150#p15150 <![CDATA[Dynamics • Time interval]]>
Can we avoid to create manually the time interval needed for dynamic network plot by setting it in the xml?

Statistics:Posted by nikolkotz — 11 Apr 2018 13:05


]]>
2018-04-05T14:11:13+01:002018-04-05T14:11:13+01:00 https://forum-gephi.org/viewtopic.php?t=6496&p=15133#p15133 <![CDATA[Dynamics • Re: How to merge spreadsheets to create a dynamic network?]]> https://github.com/gephi/gephi/issues/1546

Statistics:Posted by eduramiba — 05 Apr 2018 14:11


]]>
2018-04-03T16:29:30+01:002018-04-03T16:29:30+01:00 https://forum-gephi.org/viewtopic.php?t=6496&p=15130#p15130 <![CDATA[Dynamics • How to merge spreadsheets to create a dynamic network?]]>
I would like to create a dynamic network of Facebook pages based on how many times they link to each other every year from 2010 to 2017.
I have 7 edge files one for each year with the weights and a time stamp, but I cant find how to merge them in to one dynamic network in the new 9.2 program.

Is it still an option?

Thank you,
Aya

Statistics:Posted by aya.navon — 03 Apr 2018 16:29


]]>
2018-03-28T02:05:43+01:002018-03-28T02:05:43+01:00 https://forum-gephi.org/viewtopic.php?t=6488&p=15116#p15116 <![CDATA[Dynamics • Re: "Degree" is only attribute that will change size with auto-apply]]>
I am using Clement Levallois' excel importer plugin to create a coauthorship network using a database of publications (see attached Excel file for example of the data structure).

I am creating links between authors (field="Creator.Other") and am using the "Date.Season" to provide dynamic information (i.e., year each paper was published).

This successfully creates a dynamic network with an "Interval" field (see attached screenshot).

However, when trying to convert any of the static metrics to dynamic in the Data Lab, I don't get good results (no matter which metric I try). The only metric that appears to be dynamic is Degree, although I can't figure out why...

Is it possible to create dynamic attributes if I am using the excel importer plugin?

Thanks again for your help!
Data_example.xlsx

Data_lab_screenshot.PNG

Statistics:Posted by schignell — 28 Mar 2018 02:05


]]>
2018-03-25T12:02:39+01:002018-03-25T12:02:39+01:00 https://forum-gephi.org/viewtopic.php?t=6488&p=15105#p15105 <![CDATA[Dynamics • Re: "Degree" is only attribute that will change size with auto-apply]]> You need to use a dynanic attribute (a value that varies over time), but these statistics only compute a static value.
See https://github.com/gephi/gephi/wiki/Import-Dynamic-Data

Statistics:Posted by eduramiba — 25 Mar 2018 12:02


]]>
2018-03-25T01:49:47+01:002018-03-25T01:49:47+01:00 https://forum-gephi.org/viewtopic.php?t=6488&p=15103#p15103 <![CDATA[Dynamics • "Degree" is only attribute that will change size with auto-apply]]>
However, this does not work with any of the other attributes (e.g., betweenness centrality), they simply remain the same size throughout the whole time period.

I have recorded a video of this behavior and attached it. First I show how betweenness centrality does not change, then I change it to degree and show it changing.

I have also tested this with the dynamic graph example and get the same behavior: only degree response to the auto apply button.

Thanks!
VideoCapture.mp4

Statistics:Posted by schignell — 25 Mar 2018 01:49


]]>
2018-03-16T20:23:46+01:002018-03-16T20:23:46+01:00 https://forum-gephi.org/viewtopic.php?t=6474&p=15086#p15086 <![CDATA[Dynamics • Re: Dynamic attributes X-axis label error]]> Statistics:Posted by schignell — 16 Mar 2018 20:23


]]>
2018-03-15T11:41:19+01:002018-03-15T11:41:19+01:00 https://forum-gephi.org/viewtopic.php?t=6474&p=15083#p15083 <![CDATA[Dynamics • Re: Dynamic attributes X-axis label error]]> https://github.com/gephi/gephi/issues

Statistics:Posted by eduramiba — 15 Mar 2018 11:41


]]>
2018-03-14T19:05:38+01:002018-03-14T19:05:38+01:00 https://forum-gephi.org/viewtopic.php?t=6474&p=15081#p15081 <![CDATA[Dynamics • Re: Dynamic attributes X-axis label error]]>
I need to show some temporal trends, so is my only option to compute the metrics for each year and manually record them in a spreadsheet?

Statistics:Posted by schignell — 14 Mar 2018 19:05


]]>
2018-03-12T17:32:46+01:002018-03-12T17:32:46+01:00 https://forum-gephi.org/viewtopic.php?t=6474&p=15070#p15070 <![CDATA[Dynamics • Re: Dynamic attributes X-axis label error]]>
About export of values, I don't think it's possible at the moment.

Statistics:Posted by eduramiba — 12 Mar 2018 17:32


]]>
2018-03-12T06:00:46+01:002018-03-12T06:00:46+01:00 https://forum-gephi.org/viewtopic.php?t=6474&p=15065#p15065 <![CDATA[Dynamics • Dynamic attributes X-axis label error]]>
The results appear to be fine, but the x-axis is not labeling with the correct dates (should be years). Any thoughts?

Additionally, is there anyway to export the values behind this chart so I can work with them outside of Gephi?

Thanks!
dynamic chart.PNG

Statistics:Posted by schignell — 12 Mar 2018 06:00


]]>
2018-03-09T06:50:39+01:002018-03-09T06:50:39+01:00 https://forum-gephi.org/viewtopic.php?t=6469&p=15055#p15055 <![CDATA[Dynamics • Are there APIs for importing edges to workspaces?]]>
I would need to write an application that constantly import nodes and edges into the workspace. Is there any API for this purpose? Would the layout be preserved when importing additional nodes and edges to the existing workspace?

Thanks very much,
YuLing

Statistics:Posted by yuling — 09 Mar 2018 06:50


]]>
2018-03-04T08:17:10+01:002018-03-04T08:17:10+01:00 https://forum-gephi.org/viewtopic.php?t=6462&p=15024#p15024 <![CDATA[Dynamics • Timeline Feature]]>
I've got a correspondence project I'm working on visualizing with Gephi. My data is plotted on the GeoLayout plugin with latitude and longitude coordinates. I am trying to visualize geographic movement over time, but I am running into difficulties with the timeline feature. My data lab has the intervals created through column merges and the custom bounds are set up within the timeline's settings, but when I press play there is no movement in the graph. The timeline itself moves, but nothing happens with my nodes and edges as I would expect.

What am I missing?

Statistics:Posted by caryso — 04 Mar 2018 08:17


]]>
2018-02-28T20:30:48+01:002018-02-28T20:30:48+01:00 https://forum-gephi.org/viewtopic.php?t=6457&p=15018#p15018 <![CDATA[Dynamics • change colors of nodes and edges over time]]> Statistics:Posted by TheOnionRing — 28 Feb 2018 20:30


]]>