Evolution and dynamics on networks in Gephi: UI, data formats, algorithms...
Post Reply [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
-
bornakke - Posts:4
- Joined:21 Jun 2013 11:00
- Location:Denmark
[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
Timeformat xsd:dateTime
Post
by bornakke » 23 Jan 2014 22:23
I'm trying to export a lot of data to the gefx format with the timeformat xsd:dateTime. However no matter what I do i get this eeror:
Code: Select all
The time interval for node 'x' attribute could not be parsed. Use xsd:date, xsd:dateTime or Double formatting.
I tried to locate the decleartion of dateTime everywhere, but nothing seems to work. Anyone, what am i doing wrong in below example:
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="2012-03-27">
<creator>Gephi 0.8</creator>
<description></description>
</meta>
<graph defaultedgetype="directed" timeformat="xsd:dateTime" mode="dynamic">
<attributes class="node" mode="dynamic" timeformat="xsd:dateTime">
<attribute id="value" title="value" type="integer" ></attribute>
</attributes>
<attributes class="edge" mode="dynamic" >
<attribute id="value" title="value" type="integer" ></attribute>
</attributes>
<nodes>
<node id="1" label="growing slowly">
<attvalues>
<attvalue for="value" value="15" start="2004-04-12T13:20:00" end="2004-04-12T14:20:00"></attvalue>
</attvalues>
</node>
<node id="2" label="growing slowly">
<attvalues>
<attvalue for="value" value="15" start="2004-04-12T13:20:00" end="2004-04-12T14:20:00"></attvalue>
</attvalues>
</node>
</nodes>
<edges>
<edge source="1" target="2">
<attvalues>
<attvalue for="value" value="15"></attvalue>
</attvalues>
</edge>
</edges>
</graph>
</gexf>
-
bornakke - Posts:4
- Joined:21 Jun 2013 11:00
- Location:Denmark
[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
Post
by bornakke » 21 Feb 2014 19:52
Solved it my self:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://www.gexf.net/1.2draft"
xmlns:xsi="http://wwww.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.gexf.net/1.2draft
http://www.gexf.net/1.2draft/gexf.xds"
xmlns:viz="http://www.gexf.net/1.2draft/viz"
version="1.2">
<meta>
<creator>Tobas Bornakke</creator>
<description>Bluetooth encounters - Run id:28012014_77bf808a96570b5d53bb34a4cc97da</description>
</meta>
<graph defaultedgetype="directed" mode="dynamic" timeformat="datetime">
<attributes class="node"><attribute id="a-599dcce2998a6b40b1e38e8c6006cb0a" title="type" type="string"/>
</attributes>
<attributes class="edge"><attribute id="a-599dcce2998a6b40b1e38e8c6006cb0a" title="type" type="string"/>
<attribute id="a-521345a9fb579f52117f27be6e0673ee" title="signal" type="integer"/>
</attributes>
Nodes like this:
Code: Select all
<nodes>
<node id="3cc372c34293a12a4747de441ba91a" label="1">
<attvalue for="a-599dcce2998a6b40b1e38e8c6006cb0a" value="user"/>
</node>
Edges like this:
Code: Select all
<edge id="e-f815b43d653ff005f69c338a0804a1b6146601ba9b2282bf0aeb9688fc37" source="f815b43d653ff005f69c338a0804a1" target="b6146601ba9b2282bf0aeb9688fc37" weight="1">
<attvalue for="a-599dcce2998a6b40b1e38e8c6006cb0a" value="bluetooth_encounter"/>
<attvalue for="a-521345a9fb579f52117f27be6e0673ee" value="-95"/>
<spells>
<spell start="2013-12-06T23:49:34" end="2013-12-06T23:49:34" />
</spells>
Post Reply [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
[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