Hi,
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?
Edge Coloring
Visual manipulations and refinements
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
1 post[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
•Page 1 of 1
•Page 1 of 1
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
[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
[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
1 post[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
•Page 1 of 1
•Page 1 of 1
Return to “Filtering, Ranking & Interacting with the graph”
Jump to
- Gephi software support
- ↳ Installation
- ↳ How-To and Troubleshooting
- ↳ Plugins, presets and filters
- ↳ QA: Ideas, Requests and Feedback
- ↳ Alpha/Beta
- ↳ Translations
- Questions
- ↳ Data Import / Export
- ↳ Layouts
- ↳ Filtering, Ranking & Interacting with the graph
- ↳ Statistics, Clustering & Data Lab
- ↳ Dynamics
- ↳ Visual Results
- ↳ Visualization on the Web
- ↳ Development
- Gephi universe
- ↳ Specifications
- ↳ Legals
- ↳ Jobs
- ↳ GSoC
- ↳ GEXF file format
- ↳ libgexf