gephi / gephi-plugins

Repository for Gephi Plugins maintained by the team. Each plugin has it's branch.
270 stars 620 forks source link

scripting-plugin: wait for layout to finish #181

Open mimre25 opened 6 years ago

mimre25 commented 6 years ago

Hi, I'm trying to use the scripting plugin to run a layout, and want to print the node positions once it's finished.

Unfortunately the runLayout (and run_layout) function seem to run asynchronously, leading in the print being done before the layout is completed.

Is there anyway to get the call to run synchronously?