> Are there any standards for the edge and vertex attributes? For > example, can I assume that for a simple weighted graph the edge weight > will always be called "weight"? Or are there no guarantees? Weights are always stored in "weight" (edge attribute) and vertex names are always stored in "name" - this is because igraph's is_named() and is_weighted() methods also look for these attributes. Also, for bipartite graphs, the two parts of the graph are encoded in the "type" vertex attribute.
T. _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
