Page 1 of 2
[FIXED] Resize for a dynamic attribute
Posted: 20 Jan 2011 14:08
by seinecle
Hi,
I'd like to resize my nodes with the ranking function, according to an attribute which is dynamic.
=> it would give a time-stamped size to the node (the node would vary in size in time, following the values of the attribute).
As far as I can see, it can't be done for the moment. Could it be implemented?
(meanwhile, I'll try to work on my gexf file to make the viz: size attribute vary dynamically)
Best,
Clement
Re: Resize for a dynamic attribute
Posted: 24 Jan 2011 10:43
by seinecle
Ok,
I tried different ways to make the viz:size attribute dynamic, but none of them work:
Code: Select all
<node id="n1" label="n1" start="2005.0" end="2032.0">
<attvalues>
<attvalue for="score" value="3" start="2005.0" end="2011.0"></attvalue>
<attvalue for="score" value="2" start="2012.0" end="2016.0"></attvalue>
</attvalues>
<viz:size value="10.0" start="2005.0" end="2016.0">
<viz:size value="20.0" start="2017.0" end="2032.0">
</viz:size>
<viz:position x="-329.90173" y="-218.28006"></viz:position>
</node>
or:
Code: Select all
<node id="n1" label="n1" start="2005.0" end="2032.0">
<attvalues>
<attvalue for="score" value="3" start="2005.0" end="2011.0"></attvalue>
<attvalue for="score" value="2" start="2012.0" end="2016.0"></attvalue>
</attvalues>
<viz:size value="10.0" start="2005.0" end="2016.0">
</viz:size>
<viz:size value="20.0" start="2017.0" end="2032.0">
</viz:size>
<viz:position x="-329.90173" y="-218.28006"></viz:position>
</node>
Also, I suppose that the viz:size attribute should be declared as a dynamic attribute at the beginning of the gexf file - but as it is a sepcial attribute (from the viz module), how do you do that?
Thx for your help!
Clement
Re: Resize for a dynamic attribute
Posted: 25 Jan 2011 14:39
by admin
Hi,
Dynamic visual attributes are currently not supported by Gephi. Wait for a future release!
Re: Resize for a dynamic attribute
Posted: 14 Feb 2011 18:56
by elijah
And parallel edges!
Re: Resize for a dynamic attribute
Posted: 12 Aug 2011 19:15
by soleun
Is there an estimated timeline for visual attribute support in dynamic graph(GEXF)?
I would love to hear whether someone is actively working on this.
Re: Resize for a dynamic attribute
Posted: 15 Aug 2011 07:52
by mbastian
Dynamic visual attributes will be supported in the form of an evolution of the Ranking module, with an "auto-apply" option. That will allow to change color and size continuously when the graph is changing. So instead of defining a dynamic size parameter for node, you'll define a standard dynamic attribute attached to the node and use Ranking to code it as a size in real-time.
A early version of this feature has just been implemented in the trunk. You can test and give us your feedback

Re: Resize for a dynamic attribute
Posted: 15 Aug 2011 20:11
by elijah
This is great news!
Re: Resize for a dynamic attribute
Posted: 15 Aug 2011 22:13
by elijah
I just tried this out with range filters and dynamic filters and it's spectacular--it works very smoothly and efficiently and the interface is intuitive. I'll see if I can break it later today.
Re: Resize for a dynamic attribute
Posted: 15 Sep 2011 10:15
by seinecle
Hi,
I just notices that this thread had been expanded by new comments and grrreat news!
Honestly dynamic viz attributes is a giant leap - congrats and thx!
I'm curious though: with this "apply continuously" option, are the resulting changes in size and color recorded in the corresponding gexf file, when exporting the graph?
Best,
Clement
Re: Resize for a dynamic attribute
Posted: 15 Sep 2011 16:06
by mbastian
I'm curious though: with this "apply continuously" option, are the resulting changes in size and color recorded in the corresponding gexf file, when exporting the graph?
I'm not sure I understand what you mean. If you have a dynamic column the ranking can use this column will be exported as well.