Assigning attributes to edges

Asked by gregoire on 2010-08-11

Hi and congratulations for Gephi ;)

In your "GEXF 1.1 Draft Primer" document , I read on p. 8 that the "XML-attribute class apply nested attributes on nodes or edges". So I'm looking for a solution to declare attributes on edges...
I started this kind a thing (with previous declaration in the header as for nodes) that is unfortunately doesn't seem to work...

<edge id="1" label="AGRIP" source="489" target="379" />
<attvalues>
<attvalue for="0" value="2010-06-03"/>
<attvalue for="1" value="nc"/>
</attvalues>

Why am I wrong ? What is the right syntax to assign attributes on edges ?
Best,

Question information

Language:
English Edit question
Status:
Solved
For:
GEXF Edit question
Assignee:
No assignee Edit question
Solved by:
gregoire
Solved:
2010-08-11
Last query:
2010-08-11
Last reply:
gregoire (xgc) said : #1

OMG ! soory for the noise ;(

Like this ! of course !

<edge id="1" label="AGRIP" source="489" target="379">
<attvalues>
<attvalue for="0" value="2010-06-03"/>
<attvalue for="1" value="nc"/>
</attvalues>
</edge>

gregoire (xgc) said : #2

OMG ! soory for the noise ;(

Like this ! of course !

<edge id="1" label="AGRIP" source="489" target="379">
<attvalues>
<attvalue for="0" value="2010-06-03"/>
<attvalue for="1" value="nc"/>
</attvalues>
</edge>

You're welcome anyway :)