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!
how to control two workspaces to render?
-
- 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
- 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?
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
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