igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] Default value for a GraphML-Attribute not working


From: Massimo Franceschet
Subject: [igraph] Default value for a GraphML-Attribute not working
Date: Wed, 29 Oct 2014 10:04:07 +0100

Apparently, a default value for a GraphML-Attribute is not working when reading 
a GraphML graph in igraph with read.graph in R. An example is here (the color 
attribute has a default value): 
http://graphml.graphdrawing.org/primer/attributes.graphml

> g = 
> read.graph(file="http://graphml.graphdrawing.org/primer/attributes.graphml";, 
> format="graphml")
> V(g)$color
[1] "green"     ""          "blue"      "red"       ""          "turquoise"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]