igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] How to remove vertex attribute in python igraph


From: Tamas Nepusz
Subject: Re: [igraph] How to remove vertex attribute in python igraph
Date: Tue, 13 Jan 2009 18:57:19 +0100

Is there in python there something like remove.vertex.attribute(graph,
'attribute')... I couldn't find it in the docs...
Simply delete the attribute using Python's standard del operator, e.g.:
del g.vs["name"] deletes the "name" vertex attribute.

the reason I need to delete attributes is that if I try to write in
.net format my graph, I have an error:
Can you please send me a GraphML version of the graph so I can check the bug? (try save("graph.graphml"))

--
T.





reply via email to

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