[SOLVED] Best practice for very dynamic network?

All questions about the GEXF (see http://gexf.net before)
admin
Gephi Community Manager
Posts:964
Joined:09 Dec 2009 14:41
[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: Best practice for very dynamic network?

Post by admin » 23 May 2012 15:38

ok, so it's because of the start attribute in weight. Just remove them, as it seems to mess up the parser because of the spells.

User avatar
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: Best practice for very dynamic network?

Post by eduramiba » 23 May 2012 15:40

Yes, that is the problem.
If you still want to use dynamic weight, I think you have to include this code before <nodes>:

Code: Select all

<attributes class="edge" mode="dynamic">
    <attribute id="weight" title="Weight" type="float"/>
</attributes>
And that makes your file work.

Eduardo

miturian
Posts:23
Joined:13 Aug 2010 17:10
[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: Best practice for very dynamic network?

Post by miturian » 23 May 2012 16:40

thanks :)

yes, that seems to solve it.

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