Hello,

I want to import a graphml file into igraph. The file has a boolean
attribute:

  <key id="type" for="node" attr.name="type" attr.type="boolean"/>

The attribute is written like this:

  <data key="type">false</data>

Gephi loads this fine, but igraph fails to load this attribute as bool.
(In python, it becomes a float with the value 0.0, regardless if it is
'true' or 'false'.)

I looked how igraph saves boolean values, but it looks like it saves
them as 'double', not as 'boolean'.

Is it possible to load boolean values from graphml files into igraph?

Regards
Frederik

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to