class VertexDendrogram(Dendrogram):
The dendrogram resulting from the hierarchical clustering of the vertex set of a graph.
__init__
Creates a dendrogram object for a given graph.
__plot__
Draws the vertex dendrogram on the given Cairo context or matplotlib Axes
as_clustering
Cuts the dendrogram at the given level and returns a corresponding VertexClustering object.
optimal_count.setter
Undocumented
optimal_count
Returns the optimal number of clusters for this dendrogram.
_graph
Undocumented
_modularity_params
Undocumented
_names
Undocumented
_optimal_count
Undocumented
Inherited from Dendrogram :
__str__
Undocumented
format
Formats the dendrogram in a foreign format.
names.setter
Sets the names of the nodes in the dendrogram
summary
Returns the summary of the dendrogram.
merges
Returns the performed merges in matrix format
names
Returns the names of the nodes in the dendrogram
_convert_matrix_to_tuple_repr
Converts the matrix representation of a clustering to a tuple representation.
_traverse_inorder
Conducts an inorder traversal of the merge tree.
_merges
Undocumented
_nitems
Undocumented
_nmerges
Undocumented
igraph.Dendrogram.__init__ Creates a dendrogram object for a given graph.
Graph.modularity when the modularity is (re)calculated. If the original graph was weighted, you should pass a dictionary containing a weight key with the appropriate value here.igraph.Dendrogram.__plot__ Draws the vertex dendrogram on the given Cairo context or matplotlib Axes
See Dendrogram.__plot__ for the list of supported keyword arguments.
Cuts the dendrogram at the given level and returns a corresponding VertexClustering object.
VertexClustering object.Undocumented
Returns the optimal number of clusters for this dendrogram.
If an optimal count hint was given at construction time, this property simply returns the hint. If such a count was not given, this method calculates the optimal number of clusters by maximizing the modularity along all the possible cuts in the dendrogram.
Undocumented
Undocumented
igraph.Dendrogram._names Undocumented
Undocumented