[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Default value for a GraphML-Attribute not working
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] Default value for a GraphML-Attribute not working |
Date: |
Wed, 29 Oct 2014 11:26:02 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
This has been fixed recently in the development branch:
https://github.com/igraph/igraph/commit/fde86e2f44877a98f46e8e3af47e4417bf0ff54e
Unfortunately there hasn't been any official release since, so you'll have to
install the development version if you want to make this work.
All the best,
T.
On 10/29, Massimo Franceschet wrote:
> 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"
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
--
T.