Assigning attributes to edges

Asked by gregoire

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:
Last query:
Last reply:
Revision history for this message
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>

Revision history for this message
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>

Revision history for this message
Sébastien Heymann (sebastien.heymann) said :
#3

You're welcome anyway :)