Importing attributes

16 views
Skip to first unread message

Codie Wood

unread,
Mar 24, 2022, 11:04:34 AMMar 24
to visone-users
I'm running the latest version of visone (2.23) on a Linux Ubuntu 20.04 machine. I'm having issues getting visone to load my data,

I have several graphml (.gml) files containing graphs which have both node and edge attributes present (calculated values based on some network geometry measures). On upload to visone, it only seems to pick up the nodes and edges, but not their assigned attributes. Any idea why this is, of if there is a workaround?

I only have these calculated values as stored in the .glm file.

Codie Wood

unread,
Mar 24, 2022, 11:06:17 AMMar 24
to visone-users
I have attached one of my gml files for reference.
GeneFusion.gml

Müller Julian

unread,
Mar 27, 2022, 10:56:20 AMMar 27
to visone...@googlegroups.com

Hi Codie,

 

It is unfortunately correct that visone currently doesn’t load custom attributes in gml files. I will put it on my list of future improvements, but I think this isn’t something I can fix in a couple of minutes of work.

As a workaround I suggest to export the network as edge and node list CSV files using some other network analysis software. You can load the edge list by opening the file in visone (and specifying the correct CSV format). Afterwards, you can import the node list in the attribute manager (accessible from the toolbar at the top), by selecting “node” at the top and “import/export” on the left. Just make sure you join on the correct ID attribute (as it was named in the CSV edge list), since visone might have automatically created another ID attribute when the edge list was loaded.

Best wishes,

Julian

 

Reply all
Reply to author
Forward
0 new messages