Add a new filter plugin

Extensions and customization
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
buddhini
Posts:1
Joined:30 Oct 2013 06:03
[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
Add a new filter plugin

Post by buddhini » 30 Oct 2013 06:20

Hi,

I'm willing implement a new filter plugin which is filtering nodes by the four attributes Degree, Closeness Centrality, Betweeness Centrality and Strongly Connected ID. But getDegree() is the only function I found. So how can I filter with the other three attributes Closeness Centrality, Betweeness Centrality and Strongly Connected ID? I need to filter them within a for loop. Could you please give me a sample source code or any idea.

Thanks...

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
[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