[FIXED] Import from GML - Weights lost?

Get help with your data
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
London Rain
Posts:5
Joined:15 Jan 2011 16:38
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[FIXED] Import from GML - Weights lost?

Post by London Rain » 15 Jan 2011 16:46

Hi,

I've got my data in a GML-File. Edges in it are defined like this:

Code: Select all

  edge [
    source 34371
    target 14207
    weight 32
  ]
Edges are undirected. However if I open the GML all weights are set to one (1). Is this the intended behaviour or am I doing something wrong? I am using Gephi 0.7 beta on a Windows machine.

Import dialogue settings:
Image

Weight column:
Image

User avatar
mbastian
Gephi Architect
Posts:728
Joined:10 Dec 2009 10:11
Location:San Francisco, CA
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Import from GML - Weights lost?

Post by mbastian » 17 Jan 2011 03:55

Try with 'value' instead of 'weight'. This is not obvious we should add weight as well !

admin
Gephi Community Manager
Posts:964
Joined:09 Dec 2009 14:41
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Import from GML - Weights lost?

Post by admin » 17 Jan 2011 11:52


Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable