> I added the code to the VertexDendrogram Object.
The code in fix_dendrogram.py is a separate function, no need to add it to the
VertexDendrogram object.
> What would be the code examples that I'd use this function?
> Right now I have:
> import igraph
> g = igraph.read('/home/xiao/Desktop/tag.NET',format="pajek")
> dendrogram = g.community_edge_betweenness()
> What's next to prevent as_clustering freaks out?
fix_dendrogram(g, dendrogram)
cl = dendrogram.as_clustering()
This should do the trick.
--
T.
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help