[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
Gephi forumsPlease post new questions on facebook group too (https://www.facebook.com/groups/gephi) 2017-06-08T12:22:53+01:00 https://forum-gephi.org/app.php/feed/topic/6219 2017-06-08T12:22:53+01:002017-06-08T12:22:53+01:00 https://forum-gephi.org/viewtopic.php?t=6219&p=14427#p14427 <![CDATA[Edge Coloring]]>
Can anyone tell me how to color the edges based upon its weight using gephi toolkit jar 0.9 ? I tried it like this..


Column col=graphModel.getEdgeTable().getColumn("weight");
Function centralityRanking2 = appearanceModel.getEdgeFunction(graph,col, RankingElementColorTransformer.class);
System.out.println(centralityRanking2);
System.out.println("centralityRanking2.."+centralityRanking2);
Partition color = centralityRanking2.getTransformer();
Palette palette = PaletteManager.getInstance().generatePalette(color.size());
color.setColors(palette.getColors());
appearanceController.transform(centralityRanking2);

But this is not working.. Can someone tell me whats wrong in this?

Statistics:Posted by haripriya — 08 Jun 2017 12:22


]]>