how to control two workspaces to render?

Please use a mailing-list, see http://gephi.org/developers/
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
lwbiuchsjk
Posts:3
Joined:03 Jul 2013 08:49
[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
how to control two workspaces to render?

Post by lwbiuchsjk » 20 Aug 2013 04:53

I don`t know how to control two workspaces.
In fact, I need to read data from my own database or file, and than use two PApplets to show the two graphs.
But it cannot work well when I have the second workspace and put data into it, the data is always readed to the first workspace although I use the importController.process(container, new DefaultProcessor(), SecondWorkspace);
And when I use openWorkspace(SecondWorkspace), it works well. But the graph from the First workspace becomes the same with the second graph!
What can I do !

Thanks!

User avatar
eduramiba
Gephi Code Manager
Posts:1064
Joined:22 Mar 2010 15:30
Location:Madrid, Spain
[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 control two workspaces to render?

Post by eduramiba » 08 Jan 2014 21:25

Hi,
I think this is a problem of Preview. It always renders the active workspace so you need to switch to each workspace before refreshing and rendering.
This is not a problem for Gephi UI but it has to be improved for the toolkit.

Eduardo

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