[FIXED] Resize for a dynamic attribute

Evolution and dynamics on networks in Gephi: UI, data formats, algorithms...
User avatar
seinecle
Gephi Community Support
Posts:546
Joined:08 Feb 2010 16:55
Location:Lyon, France
Contact:
[FIXED] Resize for a dynamic attribute

Post by seinecle » 20 Jan 2011 14:08

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

User avatar
seinecle
Gephi Community Support
Posts:546
Joined:08 Feb 2010 16:55
Location:Lyon, France
Contact:

Re: Resize for a dynamic attribute

Post by seinecle » 24 Jan 2011 10:43

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

admin
Gephi Community Manager
Posts:964
Joined:09 Dec 2009 14:41
[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: Resize for a dynamic attribute

Post by admin » 25 Jan 2011 14:39

Hi,

Dynamic visual attributes are currently not supported by Gephi. Wait for a future release!

elijah
Gephi Community Support
Posts:169
Joined:11 Sep 2010 18:09
Location:Stanford, CA
Contact:

Re: Resize for a dynamic attribute

Post by elijah » 14 Feb 2011 18:56

And parallel edges!

soleun
Posts:1
Joined:12 Apr 2011 19:29
[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: Resize for a dynamic attribute

Post by soleun » 12 Aug 2011 19:15

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.

User avatar
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: Resize for a dynamic attribute

Post by mbastian » 15 Aug 2011 07:52

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 :)

elijah
Gephi Community Support
Posts:169
Joined:11 Sep 2010 18:09
Location:Stanford, CA
Contact:

Re: Resize for a dynamic attribute

Post by elijah » 15 Aug 2011 20:11

This is great news!

elijah
Gephi Community Support
Posts:169
Joined:11 Sep 2010 18:09
Location:Stanford, CA
Contact:

Re: Resize for a dynamic attribute

Post by elijah » 15 Aug 2011 22:13

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.

User avatar
seinecle
Gephi Community Support
Posts:546
Joined:08 Feb 2010 16:55
Location:Lyon, France
Contact:

Re: Resize for a dynamic attribute

Post by seinecle » 15 Sep 2011 10:15

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

User avatar
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: Resize for a dynamic attribute

Post by mbastian » 15 Sep 2011 16:06

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.

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