[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •[TODO] Changing node shapes
Page 1 of 2

[TODO] Changing node shapes

Posted: 26 Apr 2010 17:31
by ajegga
I was wondering if there was a way to change the node shapes from circle (or ellipse) to say rectangle, triangle, hexagon, etc.

Re: Changing node shapes

Posted: 26 Apr 2010 20:38
by admin
Of course,

Open the visualisation options panel like this one, then open Nodes, and choose the default shape: disk 2d, sphere 3d, or rectangle. More shapes could be added with the help of the community.

Re: Changing node shapes

Posted: 26 Apr 2010 21:32
by ajegga
Thanks. But what I meant was having different shapes in the same network. For instance, if the network has microRNA and genes or disease and genes, the ability to used different shapes for different categories/classes of nodes would make graph more intuitive. I tried using the GML file exported from Cytoscape (with different shapes for the nodes) but when it is opened in Gephi the colors are retained but the shapes are lost (i.e., all the nodes are of same default shape).

Re: Changing node shapes

Posted: 27 Apr 2010 00:40
by mbastian
Yes this is a limitation of our current design and may be fixed in a future release. I though it was in the roadmap, as many agreed this would be a very good improvement, but it wasn't so I updated the page.

Re: Changing node shapes

Posted: 16 May 2011 10:18
by karlerik
It is available now ?
Or still waiting for future release ?

Re: [TODO] Changing node shapes

Posted: 10 Feb 2012 02:04
by mchen15
Hi, I am also interested in displaying nodes in the same graph with different shapes. I have found this new Visualization API but I didn't see the set shape option. Does the current release of Gephi support this feature?

Thanks!
Mike

Re: [TODO] Changing node shapes

Posted: 21 Feb 2012 15:07
by admin
Hi, this API is currently under active development.

Re: [TODO] Changing node shapes AND node/edge patterns

Posted: 07 Mar 2012 15:46
by jodi.basner
Hi,

Is there a way to have patterned nodes or edges, i.e. a dashed line or striped node?

For the node shapes can we have a variety of shapes for one graph?

Thanks for your help.

Re: [TODO] Changing node shapes

Posted: 24 Apr 2012 09:13
by Carrott
admin wrote:Of course,

Open the visualisation options panel like this one, then open Nodes, and choose the default shape: disk 2d, sphere 3d, or rectangle. More shapes could be added with the help of the community.
Hi I have followed the steps above, and in the overview tab I have rectangular nodes (yay!). But when I go to the preview tab and refresh the nodes remain circular.... Please help!

I am a pretty new user and have Gephi 0.8.1 beta installed.

Thanks!

Re: [TODO] Changing node shapes

Posted: 24 Apr 2012 11:39
by eduramiba
Hi,
Different node shapes are not implemented in preview yet. But it is not too difficult and will be definitely done in the future.
In fact, there is a simple example implementation of square shaped nodes here https://github.com/gephi/gephi-plugins-bootcamp

Eduardo