Hello,
for research purposes I wanted to use Gephi to visualize and inspect the dynamic evolution of some human contact traces.
Is this possible ?
To provide more info about the format: for each pair of nodes I have the intervals they are in contact with each other.
Thank You in advance.
Visualize Contact Traces
- eduramiba
- Gephi Code Manager
- Posts:1064
- Joined:22 Mar 2010 15:30
- Location:Madrid, Spain [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Visualize Contact Traces
Hi,
That's perfectly possible.
Your edges would have the time interval.
Check this https://wiki.gephi.org/index.php/Import_Dynamic_Data
Other similar example for gdf https://www.youtube.com/watch?v=hKYku8b60Dc
Eduardo
That's perfectly possible.
Your edges would have the time interval.
Check this https://wiki.gephi.org/index.php/Import_Dynamic_Data
Other similar example for gdf https://www.youtube.com/watch?v=hKYku8b60Dc
Eduardo
-
- Posts:3
- Joined:30 Apr 2013 20:27 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Visualize Contact Traces
Thank you for the response,
I managed to format the trace i had in the required format as specified in the link you gave me.
To be concise:
" The dynamic graph is composed of the node declaration part: node_id and label,
and the edge/connections part where i specify the start and end time.
The nodes are in the trace the entire time, in gephi terminology they have a lifetime of -+ infinity,
while the edges should come and go as dictated by the time intervals "
Unfortunately, the timeline is not working as i should and i cannot tell why this is happening ?
Any insight ?
Again thnx.
I managed to format the trace i had in the required format as specified in the link you gave me.
To be concise:
" The dynamic graph is composed of the node declaration part: node_id and label,
and the edge/connections part where i specify the start and end time.
The nodes are in the trace the entire time, in gephi terminology they have a lifetime of -+ infinity,
while the edges should come and go as dictated by the time intervals "
Unfortunately, the timeline is not working as i should and i cannot tell why this is happening ?
Any insight ?
Again thnx.
- eduramiba
- Gephi Code Manager
- Posts:1064
- Joined:22 Mar 2010 15:30
- Location:Madrid, Spain [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Visualize Contact Traces
Hi,
Can you share your files and followed steps?
Eduardo
Can you share your files and followed steps?
Eduardo
-
- Posts:3
- Joined:30 Apr 2013 20:27 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Visualize Contact Traces
Below is the format of the source data trace:
TimeInstant #Node_x #Node_y EventType={Connection} Value={0, 1},
where TimeInstant is expressed in seconds and starts from 0.
For example:
12 12 13 Conn 1 - meaning a connection was established
18 12 13 Conn 0 - meaning the connection is down
Connections are symmetric, meaning the graph is undirected.
The corresponding gephi:
<nodes>
<node id="12" label="12"/>
<node id="13" label="13"/>
</nodes>
<edges>
<edge source="12" target="13" start="12" end="18"/>
</edges>
I there anything wrong ?
Thnx in advance
TimeInstant #Node_x #Node_y EventType={Connection} Value={0, 1},
where TimeInstant is expressed in seconds and starts from 0.
For example:
12 12 13 Conn 1 - meaning a connection was established
18 12 13 Conn 0 - meaning the connection is down
Connections are symmetric, meaning the graph is undirected.
The corresponding gephi:
<nodes>
<node id="12" label="12"/>
<node id="13" label="13"/>
</nodes>
<edges>
<edge source="12" target="13" start="12" end="18"/>
</edges>
I there anything wrong ?
Thnx in advance
- eduramiba
- Gephi Code Manager
- Posts:1064
- Joined:22 Mar 2010 15:30
- Location:Madrid, Spain [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Visualize Contact Traces
Hi,
Remember to correctly structure the whole gexf file, also declaring it as dynamic.
I attach a correct gexf file for your network.
Eduardo
Remember to correctly structure the whole gexf file, also declaring it as dynamic.
I attach a correct gexf file for your network.
Eduardo
- Attachments
-
- graph.gexf
- (775Bytes)Downloaded 174 times