'Gephi: how to set x and y coordinates of node to preset values?

I am working with Gephi. I am able to create a graph by importing a csv file for the nodes and a csv file for the edges.

Question: However, how can I also set the x and y coordinates of each node in the graph? Can I do this in the input files (e.g. with an x and y column in the nodes.csv)?

Attempts: From online searches, I have seen suggestions of using:

  • plugin
  • 're-cast' column However, these posts are from 10+ years ago and there are comments that these are not compatible with the current versions of Gephi. Any insight/input would be greatly appreciated.


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source