importing extra attributes for an existing graph

Asked by ccattuto

Is there a way to import node and/or edge attributes on top of a graph that has been already loaded ?
If not, is there a plan for supporting this?
Rationale: In many real-world use cases a user can end up with a graph representation in a format supported by Gephi,
plus an additional, separate set of node/edge attributes that represent external knowledge about that structure.
Of course one can rewrite the graph file to include the extra attributes, but being able to overlay them on the fly
would be precious I think. Cytoscape has been providing this possibility for a while. Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Gephi Edit question
Assignee:
No assignee Edit question
Solved by:
Mathieu Bastian
Solved:
Last query:
Last reply:
Revision history for this message
Best Mathieu Bastian (mathieu.bastian) said :
#1

Yes sure this will be developed in the Data Laboratory project this summer (http://wiki.gephi.org/index.php/Google_Summer_Of_Code_2010#Data_Laboratory).

However you can currently do this by using the "Append" feature in import and a compatible graph file, for instance GDF. On a existing graph, you open a new graph file which has the same identifier (ID) for elements and select "Append" in the Import report. That will add new attribute values.

Revision history for this message
ccattuto (ciro-cattuto) said :
#2

Thanks Mathieu Bastian, that solved my question.