[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
Gephi forumsPlease post new questions on facebook group too (https://www.facebook.com/groups/gephi) 2012-05-31T14:44:52+01:00 https://forum-gephi.org/app.php/feed/topic/1912 2012-05-31T14:44:52+01:002012-05-31T14:44:52+01:00 https://forum-gephi.org/viewtopic.php?t=1912&p=6566#p6566 <![CDATA[Filtering DynamicString Attribute]]>
I'm importing a dynamic graph using gexf import. One of the edge's attributes is a dynamic string, which stores some ids for each time step. Here is an example:

<attributes class="edge" mode="dynamic">
<attribute id="Ids" title="Ids" type="string"/>
</attributes>
...
<edge id="123" label="network link" source="11" target="12" weight="1.0">
<attvalues>
<attvalue for="Ids" value="[id_0_6]" start="0.0"/>
<attvalue for="Ids" value="[id_0_6, id_1_12]" start="1.0"/>
<attvalue for="Ids" value="[id_0_6, id_2_19]" start="2.0"/>
</attvalues>
</edge>

I want to color all edges, matching a given pattern, e.g. "id_0_6". The filter Attribute.Equal.Ids seems to be exactly what I was looking for. However, the filter does not work on every pattern. For example, using ".*id_0_6.*" will do the trick, whereas ".*id_1_12.*" will result in returning no edges. Maybe there is something wrong with my regex, but it seems that regex only checks for the first "entry" before the comma (of my id string array). Any suggestions?

Second question is, whether this filter is time aware or not, i.e. does the filter automatically only filter the graph valid for the given interval in the timeline.

Thanks

Statistics:Posted by vsp_neumann — 31 May 2012 14:44


]]>