[SOLVED] Possible to color edges between nodes?

Screenshots, Vectorial Preview and printable exports
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
djzingo
Posts:1
Joined:17 Jan 2011 19:14
[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
[SOLVED] Possible to color edges between nodes?

Post by djzingo » 17 Jan 2011 19:24

Hi im new to this program, and as my question implies, is it possible to color the edges between nodes (not coloring the node itself)? The reason im asking is because im about to vizulize the releations between people, and if they like each other they will have a "green" directed edge to a certain node or if someone dislikes someone he wil have a red directed edge to that node. The same thing goes if both people dont like each other, then there shall be a red undirected edge, or a green undirected edge if both like each other.

So is this possible to achieve?

Also is it possible to take screenshot of the graph inside the program, like the same as there is already in other windows in the program, or do I have to save it as a pdf and then import it in photoshop and save it as a png/jpg file?

Thanks in advance

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: Possible to color edges between nodes?

Post by admin » 18 Jan 2011 14:25

Hi,

It is possible to change the edge color manually but it is not easy:
  • Go to the Data Laboratory
  • Display edges
  • Right-click on the edge you want to apply the color
  • Select "Edit edge"
  • On the properties panel, click on the color value, which is displayed as "null".
If your edges have an attribute for "like" or "dislike", you can filter the edge according to this attribute, select all the remaining edges, and apply the color.

You can save a PNG file by using the Screenshot button in Overview: an icon on the bottom left of the graph window. Note that a slider allow you to set the edge thickness to see them better.

More info on the Quick Start tutorial: http://gephi.org/users/quick-start/

I notice to add a tool for edge coloring btw.

User avatar
rotten
Posts:34
Joined:27 Aug 2010 14:42
Location:Columbus, Ohio
[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: Possible to color edges between nodes?

Post by rotten » 18 Jan 2011 20:20

The 'Partition' feature works pretty well to colorize the edges (at least for me). I've done the coloring based on several different columns from my edge data set, depending on what I'm trying to highlight.

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: Possible to color edges between nodes?

Post by admin » 18 Jan 2011 23:19

@rotten you're right, I've forgotten this feature :D

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