I am creating a "traditional" Neural Net diagram for a network of thousands of nodes.
How to line up nodes vertically in columns? There are 3 columns.
Thanks!
How to vertically align nodes in columns?
-
- Posts:3
- Joined:23 Apr 2012 01:12 [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: How to vertically align nodes in columns?
Hi,
You can add two attributes to each of your nodes:
- a latitude
- a longitude
=> then apply the geolayout (https://gephi.org/plugins/geolayout/). By analogy with a geographical map, you will be able to locate your nodes on your screen just as on a geographical map, the coordinates being latitude and longitude.
[ a tutorial explaining how to use the geolayout is available here: http://gephi.org/tutorials/gephi-tutorial-layouts.pdf ]
To get the specific effect you need, for each node,
- assign one of three different values for your longitude (effect: visually, you will get 3 columns)
- make a computation to assign a value for latitude which will space evenly the nodes vertically.
In practice, I do that on an excel spreadsheet, then I import it in the data laboratory. This is a bit of work, but it works well.
If these indications are not clear, don't hesitate to post a follow up!
Best,
Clement
You can add two attributes to each of your nodes:
- a latitude
- a longitude
=> then apply the geolayout (https://gephi.org/plugins/geolayout/). By analogy with a geographical map, you will be able to locate your nodes on your screen just as on a geographical map, the coordinates being latitude and longitude.
[ a tutorial explaining how to use the geolayout is available here: http://gephi.org/tutorials/gephi-tutorial-layouts.pdf ]
To get the specific effect you need, for each node,
- assign one of three different values for your longitude (effect: visually, you will get 3 columns)
- make a computation to assign a value for latitude which will space evenly the nodes vertically.
In practice, I do that on an excel spreadsheet, then I import it in the data laboratory. This is a bit of work, but it works well.
If these indications are not clear, don't hesitate to post a follow up!
Best,
Clement
Re: How to vertically align nodes in columns?
Update:
You could be interested in this plugin:
https://marketplace.gephi.org/plugin/al ... al-sorter/
Best,
Clement
You could be interested in this plugin:
https://marketplace.gephi.org/plugin/al ... al-sorter/
Best,
Clement