[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 •Another Sigma.js question
Page 1 of 1

Another Sigma.js question

Posted: 02 Jul 2013 21:48
by Cartowsky
Hello everyone!

First time poster here, but I've been lurking some truly precious tips here and there, so first of all thanks for all the nice discussions.

I have a really stupid question regarding sigma.js:
How can i change the node colors?

I'm trying with this example provided by the user seinecle (thanks!), but, for the life of me I can't really figure out how to change the initial node colouring.
http://forum.gephi.org/viewtopic.php?f=28&t=1900

I've already checked the examples on Sigma.js website, but I can't find an answer (I'm really un-experienced with js, so probably the answer is under my nose but i can't understand it.. :cry: )
I've also posted on the GitHub Issues section, but to no outcome.

Anybody has some ideas/has experienced the same issue?

Thanks in advance for any input, and keep up the good work!

Re: Another Sigma.js question

Posted: 10 Jul 2013 03:50
by WeezyF
I just changed the color of the nodes while still in Gephi. Then, once i got them the way i wanted, just did the whole export thing, and it worked. there is a file called gefxjs.css, which is really clean, and you can customize the size or backgroud-color or font if you'd like.

http://zackdesario.com/gephi_js/

Re: Another Sigma.js question

Posted: 20 Apr 2014 18:06
by sanath1334
Hey , I really liked the visualization . i am just getting A VERY normal grey colored nodes and edges , How can I change it to somethink like what you have done? Where do I make such changes?

Re: Another Sigma.js question

Posted: 01 May 2014 21:08
by WeezyF
Yo Sanath;
My bad for the delay in response.
If you are getting all grey colors in your graph, you should check the options when you are exporting the gephi file to include the colors of the nodes. Let me know how it goes...