I am trying to make newly added nodes and edges shine or have any kind of animation or color to indicate they are newly added. That way, it could hint the user to let the user know. And several seconds later, will turn back to normal or default color. Is there any build-in function to do that or similar to that? If not, could anyone give some hints where can I implement myself?
Thanks.
Is there any way to make newly added nodes and edges shine?
- mbastian
- Gephi Architect
- Posts:728
- Joined:10 Dec 2009 10:11
- Location:San Francisco, CA [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: Is there any way to make newly added nodes and edges shi
No there no function to do that. Doing that would require several things:
- Hack into the visualization engine (into VisualizationModule) and probably add a new boolean variable for each object
- Set this flag when data are added. That is in the DHNSDataBridge class
- Maintain a timer (by time or number of frame displayed), probably in AbstractEngine class
- Modify the OpenGL code of Node, Edges and Arrows
- Hack into the visualization engine (into VisualizationModule) and probably add a new boolean variable for each object
- Set this flag when data are added. That is in the DHNSDataBridge class
- Maintain a timer (by time or number of frame displayed), probably in AbstractEngine class
- Modify the OpenGL code of Node, Edges and Arrows
-
- Posts:7
- Joined:24 Aug 2010 03:17 [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: Is there any way to make newly added nodes and edges shi
I would really recommend this function to be added later. Gephi is introducing the streaming API, so nodes and edges are being added dynamically. So it would be way better to see some kinds of animation or color when new nodes or edges are added when we have thousands of nodes. That way it's a lot easier to see where the new nodes are.
Re: Is there any way to make newly added nodes and edges shi
Isn't this just labeling the edges according to a particular edge attribute and giving functionality to dynamically assign that attribute based on an arbitrary value which, in many cases, would be a timestamp? I think the idea of hard-wiring it to an expected "new" value is a little too restrictive.