Gephi API - Edge to self, Two edges between same nodes

Algorithms and parameters to put data in space
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
Junkers
Posts:2
Joined:30 Oct 2013 22:52
[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
Gephi API - Edge to self, Two edges between same nodes

Post by Junkers » 30 Oct 2013 23:54

Hello,
this is my first post so I want to thank You guys for great tool ;)
I use Gephi with my recommendation system graph virtualization software. For test I use MovieLens dataset.
There are 3 issues i can't solve:
1. I have to create edges like on figures 1 and 2 on image below (self-edge and multiple edges between nodes).
is this topic still current? http://forum.gephi.org/viewtopic.php?f= ... edge#p9515
Image
2. I add random color to my edges with method like

Code: Select all

Edge temp;    
Random rand = new Random();
                r = rand.nextFloat() % 1.0f;
                g = rand.nextFloat() % 1.0f;
                b = rand.nextFloat() % 1.0f;
temp.getEdgeData().setColor(r, g, b);
edges.add(temp);
But in visualization they are greyed out:
Image
3. This graph above is autoconfigured can i create button to relocate nodes and edges?

Thanks for all help ;)

kc2519
Posts:4
Joined:14 Nov 2013 01:56
Location:United States
Contact:

Re: Gephi API - Edge to self, Two edges between same nodes

Post by kc2519 » 14 Nov 2013 04:04

On #1 - for now, Gephi doesn't support multiple edges between nodes. I need to think about the other questions before responding.

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