export vs exportGraph
Hello,
I am trying to use the scripting pluging --- it looks great, however I think the documentation may be out of date.
I tried to call export as indicated in the exporting section of this doc https://wiki.gephi.org/index.php/Scripting_Plugin , and got name not found error.
However, I found the issue tracker, and noticed someone discussing the "exportGraph" function, which I tried and worked! :)
I'm wondering if there is a more up to date doc of the functions that are in scope within the scripting console.
Alternatively I am wondering where the source code for the plugin is so I can find the functions I need to call myself (i was having trouble finding the relevant code within here https://github.com/gephi/gephi-plugins/tree/python-scripting-plugin)
Best and thank you for any help.
Max
Hello,
is there anyway to export graphs from "overview" using the scripting plug-in (as in taking a screenshot) to preserve the 3D (sphere rendering) of the nodes?
I find that that the "exportGraph" function exports the graph from "preview" and thus looses the 3D rendering. Is there anyway to call the "snapshot" function (if such a thing exists) using "export"? Where can I look it up?
I am trying to make a video of a graph while displaying. I figured I could take screenshots every iteration and then put them together using a video editing software. This, of course, is very repetitive and time consuming to do manually, so I decided to use the scripting plugin to do it. My scripting/programming skills are very very basic, but I figured I could use the following code:
i = 1 while i <= 250: Destino = '/home/destination/file' captura = '%s/captura%d.png' % (Destino, i)
runLayout(YifanHu, iters=1) exportGraph(captura)
i = i + 1
the script works but, as stated before, the images always come from "preview".
Thank you very much for your help
Carlos