-
igraph
index.html
Package
Package
PUBLIC
IGraph library.
-
igraph._igraph
igraph._igraph.html
Module
Module
PRIVATE
Low-level Python interface for the igraph library. Should not be used directly.
-
igraph.app
igraph.app.html
Package
Package
PUBLIC
User interfaces of igraph
-
igraph.app.shell
igraph.app.shell.html
Module
Module
PUBLIC
Command-line user interface of igraph
-
igraph.clustering
igraph.clustering.html
Module
Module
PUBLIC
Classes related to graph clustering.
-
igraph.configuration
igraph.configuration.html
Module
Module
PUBLIC
Configuration framework for igraph.
-
igraph.cut
igraph.cut.html
Module
Module
PUBLIC
Classes representing cuts and flows on graphs.
-
igraph.datatypes
igraph.datatypes.html
Module
Module
PUBLIC
Additional auxiliary data types
-
igraph.drawing
igraph.drawing.html
Package
Package
PUBLIC
Drawing and plotting routines for IGraph.
-
igraph.drawing.baseclasses
igraph.drawing.baseclasses.html
Module
Module
PUBLIC
Abstract base classes for the drawing routines.
-
igraph.drawing.colors
igraph.drawing.colors.html
Module
Module
PUBLIC
Color handling functions.
-
igraph.drawing.coord
igraph.drawing.coord.html
Module
Module
PUBLIC
Coordinate systems and related plotting routines
-
igraph.drawing.edge
igraph.drawing.edge.html
Module
Module
PUBLIC
Drawers for various edge styles in graph plots.
-
igraph.drawing.graph
igraph.drawing.graph.html
Module
Module
PUBLIC
Drawing routines to draw graphs.
-
igraph.drawing.metamagic
igraph.drawing.metamagic.html
Module
Module
PUBLIC
Auxiliary classes for the default graph drawer in igraph.
-
igraph.drawing.shapes
igraph.drawing.shapes.html
Module
Module
PUBLIC
Shape drawing classes for igraph
-
igraph.drawing.text
igraph.drawing.text.html
Module
Module
PUBLIC
Drawers for labels on plots.
-
igraph.drawing.utils
igraph.drawing.utils.html
Module
Module
PUBLIC
Utility classes for drawing routines.
-
igraph.drawing.vertex
igraph.drawing.vertex.html
Module
Module
PUBLIC
Drawing routines to draw the vertices of graphs.
-
igraph.formula
igraph.formula.html
Module
Module
PUBLIC
Implementation of `igraph.Graph.Formula()`
-
igraph.layout
igraph.layout.html
Module
Module
PUBLIC
Layout-related code in the IGraph library.
-
igraph.matching
igraph.matching.html
Module
Module
PUBLIC
Classes representing matchings on graphs.
-
igraph.operators
igraph.operators.html
Module
Module
PUBLIC
Implementation of union, disjoint union and intersection operators.
-
igraph.remote
igraph.remote.html
Package
Package
PUBLIC
Classes that help igraph communicate with remote applications.
-
igraph.remote.gephi
igraph.remote.gephi.html
Module
Module
PUBLIC
-
igraph.sparse_matrix
igraph.sparse_matrix.html
Module
Module
PUBLIC
Implementation of Python-level sparse matrix operations.
-
igraph.statistics
igraph.statistics.html
Module
Module
PUBLIC
Statistics related stuff in igraph
-
igraph.summary
igraph.summary.html
Module
Module
PUBLIC
Summary representation of a graph.
-
igraph.utils
igraph.utils.html
Module
Module
PUBLIC
Utility functions that cannot be categorised anywhere else.
-
igraph.version
igraph.version.html
Module
Module
PUBLIC
Undocumented
-
igraph.__license__
index.html#__license__
Attribute
Variable
PUBLIC
Undocumented
-
igraph._igraph._compare_communities
igraph._igraph.html#_compare_communities
Function
Function
PRIVATE
Undocumented
-
igraph._igraph._power_law_fit
igraph._igraph.html#_power_law_fit
Function
Function
PRIVATE
Undocumented
-
igraph._igraph.convex_hull
igraph._igraph.html#convex_hull
Function
Function
PUBLIC
Calculates the convex hull of a given point set.
-
igraph._igraph.is_degree_sequence
igraph._igraph.html#is_degree_sequence
Function
Function
PUBLIC
-
igraph._igraph.is_graphical
igraph._igraph.html#is_graphical
Function
Function
PUBLIC
Returns whether a list of degrees can be a degree sequence of some graph, with or without multiple and loop edges, depending on the allowed edge types in the remaining arguments.
-
igraph._igraph.is_graphical_degree_sequence
igraph._igraph.html#is_graphical_degree_sequence
Function
Function
PUBLIC
-
igraph._igraph.set_progress_handler
igraph._igraph.html#set_progress_handler
Function
Function
PUBLIC
Sets the handler to be called when igraph is performing a long operation.
-
igraph._igraph.set_random_number_generator
igraph._igraph.html#set_random_number_generator
Function
Function
PUBLIC
Sets the random number generator used by igraph.
-
igraph._igraph.set_status_handler
igraph._igraph.html#set_status_handler
Function
Function
PUBLIC
Sets the handler to be called when igraph tries to display a status message.
-
igraph._igraph._split_join_distance
igraph._igraph.html#_split_join_distance
Function
Function
PRIVATE
Undocumented
-
igraph._igraph._disjoint_union
igraph._igraph.html#_disjoint_union
Function
Function
PRIVATE
Undocumented
-
igraph._igraph._union
igraph._igraph.html#_union
Function
Function
PRIVATE
Undocumented
-
igraph._igraph._intersection
igraph._igraph.html#_intersection
Function
Function
PRIVATE
Undocumented
-
igraph._igraph.GraphBase
igraph._igraph.GraphBase.html
Class
Class
PUBLIC
Low-level representation of a graph.
-
igraph._igraph.GraphBase.__new__
igraph._igraph.GraphBase.html#__new__
Function
Method
PUBLIC
Create and return a new object. See help(type) for accurate signature.
-
igraph._igraph.GraphBase.vcount
igraph._igraph.GraphBase.html#vcount
Function
Method
PUBLIC
Counts the number of vertices.
-
igraph._igraph.GraphBase.ecount
igraph._igraph.GraphBase.html#ecount
Function
Method
PUBLIC
Counts the number of edges.
-
igraph._igraph.GraphBase.is_dag
igraph._igraph.GraphBase.html#is_dag
Function
Method
PUBLIC
Checks whether the graph is a DAG (directed acyclic graph).
-
igraph._igraph.GraphBase.is_directed
igraph._igraph.GraphBase.html#is_directed
Function
Method
PUBLIC
Checks whether the graph is directed.
-
igraph._igraph.GraphBase.is_simple
igraph._igraph.GraphBase.html#is_simple
Function
Method
PUBLIC
Checks whether the graph is simple (no loop or multiple edges).
-
igraph._igraph.GraphBase.is_tree
igraph._igraph.GraphBase.html#is_tree
Function
Method
PUBLIC
Checks whether the graph is a (directed or undirected) tree graph.
-
igraph._igraph.GraphBase.add_vertices
igraph._igraph.GraphBase.html#add_vertices
Function
Method
PUBLIC
Adds vertices to the graph.
-
igraph._igraph.GraphBase.delete_vertices
igraph._igraph.GraphBase.html#delete_vertices
Function
Method
PUBLIC
Deletes vertices and all its edges from the graph.
-
igraph._igraph.GraphBase.add_edges
igraph._igraph.GraphBase.html#add_edges
Function
Method
PUBLIC
Adds edges to the graph.
-
igraph._igraph.GraphBase.delete_edges
igraph._igraph.GraphBase.html#delete_edges
Function
Method
PUBLIC
Removes edges from the graph.
-
igraph._igraph.GraphBase.degree
igraph._igraph.GraphBase.html#degree
Function
Method
PUBLIC
Returns some vertex degrees from the graph.
-
igraph._igraph.GraphBase.strength
igraph._igraph.GraphBase.html#strength
Function
Method
PUBLIC
Returns the strength (weighted degree) of some vertices from the graph
-
igraph._igraph.GraphBase.is_loop
igraph._igraph.GraphBase.html#is_loop
Function
Method
PUBLIC
Checks whether a specific set of edges contain loop edges
-
igraph._igraph.GraphBase.is_multiple
igraph._igraph.GraphBase.html#is_multiple
Function
Method
PUBLIC
Checks whether an edge is a multiple edge.
-
igraph._igraph.GraphBase.has_multiple
igraph._igraph.GraphBase.html#has_multiple
Function
Method
PUBLIC
Checks whether the graph has multiple edges.
-
igraph._igraph.GraphBase.is_mutual
igraph._igraph.GraphBase.html#is_mutual
Function
Method
PUBLIC
Checks whether an edge has an opposite pair.
-
igraph._igraph.GraphBase.count_multiple
igraph._igraph.GraphBase.html#count_multiple
Function
Method
PUBLIC
Counts the multiplicities of the given edges.
-
igraph._igraph.GraphBase.neighbors
igraph._igraph.GraphBase.html#neighbors
Function
Method
PUBLIC
Returns adjacent vertices to a given vertex.
-
igraph._igraph.GraphBase.successors
igraph._igraph.GraphBase.html#successors
Function
Method
PUBLIC
Returns the successors of a given vertex.
-
igraph._igraph.GraphBase.predecessors
igraph._igraph.GraphBase.html#predecessors
Function
Method
PUBLIC
Returns the predecessors of a given vertex.
-
igraph._igraph.GraphBase.get_eid
igraph._igraph.GraphBase.html#get_eid
Function
Method
PUBLIC
Returns the edge ID of an arbitrary edge between vertices v1 and v2
-
igraph._igraph.GraphBase.get_eids
igraph._igraph.GraphBase.html#get_eids
Function
Method
PUBLIC
Returns the edge IDs of some edges between some vertices.
-
igraph._igraph.GraphBase.incident
igraph._igraph.GraphBase.html#incident
Function
Method
PUBLIC
Returns the edges a given vertex is incident on.
-
igraph._igraph.GraphBase.Adjacency
igraph._igraph.GraphBase.html#Adjacency
Function
Method
PUBLIC
Generates a graph from its adjacency matrix.
-
igraph._igraph.GraphBase.Asymmetric_Preference
igraph._igraph.GraphBase.html#Asymmetric_Preference
Function
Method
PUBLIC
Generates a graph based on asymmetric vertex types and connection probabilities.
-
igraph._igraph.GraphBase.Atlas
igraph._igraph.GraphBase.html#Atlas
Function
Method
PUBLIC
Generates a graph from the Graph Atlas.
-
igraph._igraph.GraphBase.Barabasi
igraph._igraph.GraphBase.html#Barabasi
Function
Method
PUBLIC
Generates a graph based on the Barabasi-Albert model.
-
igraph._igraph.GraphBase._Bipartite
igraph._igraph.GraphBase.html#_Bipartite
Function
Method
PRIVATE
Internal function, undocumented.
-
igraph._igraph.GraphBase.De_Bruijn
igraph._igraph.GraphBase.html#De_Bruijn
Function
Method
PUBLIC
Generates a de Bruijn graph with parameters (m, n)
-
igraph._igraph.GraphBase.Establishment
igraph._igraph.GraphBase.html#Establishment
Function
Method
PUBLIC
Generates a graph based on a simple growing model with vertex types.
-
igraph._igraph.GraphBase.Erdos_Renyi
igraph._igraph.GraphBase.html#Erdos_Renyi
Function
Method
PUBLIC
Generates a graph based on the Erdos-Renyi model.
-
igraph._igraph.GraphBase.Famous
igraph._igraph.GraphBase.html#Famous
Function
Method
PUBLIC
Generates a famous graph based on its name.
-
igraph._igraph.GraphBase.Forest_Fire
igraph._igraph.GraphBase.html#Forest_Fire
Function
Method
PUBLIC
Generates a graph based on the forest fire model
-
igraph._igraph.GraphBase.Full_Citation
igraph._igraph.GraphBase.html#Full_Citation
Function
Method
PUBLIC
Generates a full citation graph
-
igraph._igraph.GraphBase.Full
igraph._igraph.GraphBase.html#Full
Function
Method
PUBLIC
Generates a full graph (directed or undirected, with or without loops).
-
igraph._igraph.GraphBase._Full_Bipartite
igraph._igraph.GraphBase.html#_Full_Bipartite
Function
Method
PRIVATE
Internal function, undocumented.
-
igraph._igraph.GraphBase._GRG
igraph._igraph.GraphBase.html#_GRG
Function
Method
PRIVATE
Internal function, undocumented.
-
igraph._igraph.GraphBase.Growing_Random
igraph._igraph.GraphBase.html#Growing_Random
Function
Method
PUBLIC
Generates a growing random graph.
-
igraph._igraph.GraphBase._Incidence
igraph._igraph.GraphBase.html#_Incidence
Function
Method
PRIVATE
Internal function, undocumented.
-
igraph._igraph.GraphBase.Kautz
igraph._igraph.GraphBase.html#Kautz
Function
Method
PUBLIC
Generates a Kautz graph with parameters (m, n)
-
igraph._igraph.GraphBase.K_Regular
igraph._igraph.GraphBase.html#K_Regular
Function
Method
PUBLIC
Generates a k-regular random graph
-
igraph._igraph.GraphBase.Preference
igraph._igraph.GraphBase.html#Preference
Function
Method
PUBLIC
Generates a graph based on vertex types and connection probabilities.
-
igraph._igraph.GraphBase._Random_Bipartite
igraph._igraph.GraphBase.html#_Random_Bipartite
Function
Method
PRIVATE
Internal function, undocumented.
-
igraph._igraph.GraphBase.Recent_Degree
igraph._igraph.GraphBase.html#Recent_Degree
Function
Method
PUBLIC
Generates a graph based on a stochastic model where the probability of an edge gaining a new node is proportional to the edges gained in a given time window.
-
igraph._igraph.GraphBase.SBM
igraph._igraph.GraphBase.html#SBM
Function
Method
PUBLIC
Generates a graph based on a stochastic blockmodel.
-
igraph._igraph.GraphBase.Star
igraph._igraph.GraphBase.html#Star
Function
Method
PUBLIC
Generates a star graph.
-
igraph._igraph.GraphBase.Lattice
igraph._igraph.GraphBase.html#Lattice
Function
Method
PUBLIC
Generates a regular lattice.
-
igraph._igraph.GraphBase.LCF
igraph._igraph.GraphBase.html#LCF
Function
Method
PUBLIC
Generates a graph from LCF notation.
-
igraph._igraph.GraphBase.Realize_Degree_Sequence
igraph._igraph.GraphBase.html#Realize_Degree_Sequence
Function
Method
PUBLIC
Generates a graph from a degree sequence.
-
igraph._igraph.GraphBase.Ring
igraph._igraph.GraphBase.html#Ring
Function
Method
PUBLIC
Generates a ring graph.
-
igraph._igraph.GraphBase.Static_Fitness
igraph._igraph.GraphBase.html#Static_Fitness
Function
Method
PUBLIC
Generates a non-growing graph with edge probabilities proportional to node fitnesses.
-
igraph._igraph.GraphBase.Static_Power_Law
igraph._igraph.GraphBase.html#Static_Power_Law
Function
Method
PUBLIC
Generates a non-growing graph with prescribed power-law degree distributions.
-
igraph._igraph.GraphBase.Tree
igraph._igraph.GraphBase.html#Tree
Function
Method
PUBLIC
Generates a tree in which almost all vertices have the same number of children.
-
igraph._igraph.GraphBase.Degree_Sequence
igraph._igraph.GraphBase.html#Degree_Sequence
Function
Method
PUBLIC
Generates a graph with a given degree sequence.
-
igraph._igraph.GraphBase.Isoclass
igraph._igraph.GraphBase.html#Isoclass
Function
Method
PUBLIC
Generates a graph with a given isomorphism class.
-
igraph._igraph.GraphBase.Tree_Game
igraph._igraph.GraphBase.html#Tree_Game
Function
Method
PUBLIC
Generates a random tree by sampling uniformly from the set of labelled trees with a given number of nodes.
-
igraph._igraph.GraphBase.Watts_Strogatz
igraph._igraph.GraphBase.html#Watts_Strogatz
Function
Method
PUBLIC
No summary
-
igraph._igraph.GraphBase.Weighted_Adjacency
igraph._igraph.GraphBase.html#Weighted_Adjacency
Function
Method
PUBLIC
Generates a graph from its adjacency matrix.
-
igraph._igraph.GraphBase.are_connected
igraph._igraph.GraphBase.html#are_connected
Function
Method
PUBLIC
Decides whether two given vertices are directly connected.
-
igraph._igraph.GraphBase.articulation_points
igraph._igraph.GraphBase.html#articulation_points
Function
Method
PUBLIC
Returns the list of articulation points in the graph.
-
igraph._igraph.GraphBase.assortativity
igraph._igraph.GraphBase.html#assortativity
Function
Method
PUBLIC
Returns the assortativity of the graph based on numeric properties of the vertices.
-
igraph._igraph.GraphBase.assortativity_degree
igraph._igraph.GraphBase.html#assortativity_degree
Function
Method
PUBLIC
Returns the assortativity of a graph based on vertex degrees.
-
igraph._igraph.GraphBase.assortativity_nominal
igraph._igraph.GraphBase.html#assortativity_nominal
Function
Method
PUBLIC
Returns the assortativity of the graph based on vertex categories.
-
igraph._igraph.GraphBase.average_path_length
igraph._igraph.GraphBase.html#average_path_length
Function
Method
PUBLIC
Calculates the average path length in a graph.
-
igraph._igraph.GraphBase.authority_score
igraph._igraph.GraphBase.html#authority_score
Function
Method
PUBLIC
Calculates Kleinberg's authority score for the vertices of the graph
-
igraph._igraph.GraphBase.betweenness
igraph._igraph.GraphBase.html#betweenness
Function
Method
PUBLIC
Calculates or estimates the betweenness of vertices in a graph.
-
igraph._igraph.GraphBase.biconnected_components
igraph._igraph.GraphBase.html#biconnected_components
Function
Method
PUBLIC
Calculates the biconnected components of the graph.
-
igraph._igraph.GraphBase.bipartite_projection
igraph._igraph.GraphBase.html#bipartite_projection
Function
Method
PUBLIC
Internal function, undocumented.
-
igraph._igraph.GraphBase.bipartite_projection_size
igraph._igraph.GraphBase.html#bipartite_projection_size
Function
Method
PUBLIC
Internal function, undocumented.
-
igraph._igraph.GraphBase.bridges
igraph._igraph.GraphBase.html#bridges
Function
Method
PUBLIC
Returns the list of bridges in the graph.
-
igraph._igraph.GraphBase.closeness
igraph._igraph.GraphBase.html#closeness
Function
Method
PUBLIC
Calculates the closeness centralities of given vertices in a graph.
-
igraph._igraph.GraphBase.harmonic_centrality
igraph._igraph.GraphBase.html#harmonic_centrality
Function
Method
PUBLIC
Calculates the harmonic centralities of given vertices in a graph.
-
igraph._igraph.GraphBase.clusters
igraph._igraph.GraphBase.html#clusters
Function
Method
PUBLIC
Calculates the (strong or weak) clusters for a given graph.
-
igraph._igraph.GraphBase.copy
igraph._igraph.GraphBase.html#copy
Function
Method
PUBLIC
Creates a copy of the graph.
-
igraph._igraph.GraphBase.decompose
igraph._igraph.GraphBase.html#decompose
Function
Method
PUBLIC
Decomposes the graph into subgraphs.
-
igraph._igraph.GraphBase.contract_vertices
igraph._igraph.GraphBase.html#contract_vertices
Function
Method
PUBLIC
Contracts some vertices in the graph, i.e. replaces groups of vertices with single vertices. Edges are not affected.
-
igraph._igraph.GraphBase.constraint
igraph._igraph.GraphBase.html#constraint
Function
Method
PUBLIC
Calculates Burt's constraint scores for given vertices in a graph.
-
igraph._igraph.GraphBase.density
igraph._igraph.GraphBase.html#density
Function
Method
PUBLIC
Calculates the density of the graph.
-
igraph._igraph.GraphBase.diameter
igraph._igraph.GraphBase.html#diameter
Function
Method
PUBLIC
Calculates the diameter of the graph.
-
igraph._igraph.GraphBase.get_diameter
igraph._igraph.GraphBase.html#get_diameter
Function
Method
PUBLIC
Returns a path with the actual diameter of the graph.
-
igraph._igraph.GraphBase.farthest_points
igraph._igraph.GraphBase.html#farthest_points
Function
Method
PUBLIC
Returns two vertex IDs whose distance equals the actual diameter of the graph.
-
igraph._igraph.GraphBase.diversity
igraph._igraph.GraphBase.html#diversity
Function
Method
PUBLIC
Calculates the structural diversity index of the vertices.
-
igraph._igraph.GraphBase.eccentricity
igraph._igraph.GraphBase.html#eccentricity
Function
Method
PUBLIC
Calculates the eccentricities of given vertices in a graph.
-
igraph._igraph.GraphBase.edge_betweenness
igraph._igraph.GraphBase.html#edge_betweenness
Function
Method
PUBLIC
Calculates or estimates the edge betweennesses in a graph.
-
igraph._igraph.GraphBase.eigen_adjacency
igraph._igraph.GraphBase.html#eigen_adjacency
Function
Method
PUBLIC
Undocumented
-
igraph._igraph.GraphBase.edge_connectivity
igraph._igraph.GraphBase.html#edge_connectivity
Function
Method
PUBLIC
Calculates the edge connectivity of the graph or between some vertices.
-
igraph._igraph.GraphBase.eigenvector_centrality
igraph._igraph.GraphBase.html#eigenvector_centrality
Function
Method
PUBLIC
Calculates the eigenvector centralities of the vertices in a graph.
-
igraph._igraph.GraphBase.feedback_arc_set
igraph._igraph.GraphBase.html#feedback_arc_set
Function
Method
PUBLIC
Calculates an approximately or exactly minimal feedback arc set.
-
igraph._igraph.GraphBase.get_shortest_paths
igraph._igraph.GraphBase.html#get_shortest_paths
Function
Method
PUBLIC
Calculates the shortest paths from/to a given node in a graph.
-
igraph._igraph.GraphBase.get_all_shortest_paths
igraph._igraph.GraphBase.html#get_all_shortest_paths
Function
Method
PUBLIC
Calculates all of the shortest paths from/to a given node in a graph.
-
igraph._igraph.GraphBase._get_all_simple_paths
igraph._igraph.GraphBase.html#_get_all_simple_paths
Function
Method
PRIVATE
Internal function, undocumented.
-
igraph._igraph.GraphBase.girth
igraph._igraph.GraphBase.html#girth
Function
Method
PUBLIC
Returns the girth of the graph.
-
igraph._igraph.GraphBase.convergence_degree
igraph._igraph.GraphBase.html#convergence_degree
Function
Method
PUBLIC
Undocumented (yet).
-
igraph._igraph.GraphBase.convergence_field_size
igraph._igraph.GraphBase.html#convergence_field_size
Function
Method
PUBLIC
Undocumented (yet).
-
igraph._igraph.GraphBase.hub_score
igraph._igraph.GraphBase.html#hub_score
Function
Method
PUBLIC
Calculates Kleinberg's hub score for the vertices of the graph
-
igraph._igraph.GraphBase.induced_subgraph
igraph._igraph.GraphBase.html#induced_subgraph
Function
Method
PUBLIC
Returns a subgraph spanned by the given vertices.
-
igraph._igraph.GraphBase.is_bipartite
igraph._igraph.GraphBase.html#is_bipartite
Function
Method
PUBLIC
Decides whether the graph is bipartite or not.
-
igraph._igraph.GraphBase.knn
igraph._igraph.GraphBase.html#knn
Function
Method
PUBLIC
Calculates the average degree of the neighbors for each vertex, and the same quantity as the function of vertex degree.
-
igraph._igraph.GraphBase.is_connected
igraph._igraph.GraphBase.html#is_connected
Function
Method
PUBLIC
Decides whether the graph is connected.
-
igraph._igraph.GraphBase.linegraph
igraph._igraph.GraphBase.html#linegraph
Function
Method
PUBLIC
Returns the line graph of the graph.
-
igraph._igraph.GraphBase.maxdegree
igraph._igraph.GraphBase.html#maxdegree
Function
Method
PUBLIC
Returns the maximum degree of a vertex set in the graph.
-
igraph._igraph.GraphBase.neighborhood
igraph._igraph.GraphBase.html#neighborhood
Function
Method
PUBLIC
For each vertex specified by vertices, returns the vertices reachable from that vertex in at most order steps. If mindist is larger than zero, vertices that are reachable in less than mindist steps are excluded.
-
igraph._igraph.GraphBase.neighborhood_size
igraph._igraph.GraphBase.html#neighborhood_size
Function
Method
PUBLIC
For each vertex specified by vertices, returns the number of vertices reachable from that vertex in at most order steps. If mindist is larger than zero, vertices that are reachable in less than mindist...
-
igraph._igraph.GraphBase.path_length_hist
igraph._igraph.GraphBase.html#path_length_hist
Function
Method
PUBLIC
Calculates the path length histogram of the graph
-
igraph._igraph.GraphBase.permute_vertices
igraph._igraph.GraphBase.html#permute_vertices
Function
Method
PUBLIC
Permutes the vertices of the graph according to the given permutation and returns the new graph.
-
igraph._igraph.GraphBase.radius
igraph._igraph.GraphBase.html#radius
Function
Method
PUBLIC
Calculates the radius of the graph.
-
igraph._igraph.GraphBase.reciprocity
igraph._igraph.GraphBase.html#reciprocity
Function
Method
PUBLIC
Reciprocity defines the proportion of mutual connections in a directed graph. It is most commonly defined as the probability that the opposite counterpart of a directed edge is also included in the graph...
-
igraph._igraph.GraphBase.rewire
igraph._igraph.GraphBase.html#rewire
Function
Method
PUBLIC
Randomly rewires the graph while preserving the degree distribution.
-
igraph._igraph.GraphBase.rewire_edges
igraph._igraph.GraphBase.html#rewire_edges
Function
Method
PUBLIC
Rewires the edges of a graph with constant probability.
-
igraph._igraph.GraphBase.shortest_paths
igraph._igraph.GraphBase.html#shortest_paths
Function
Method
PUBLIC
Calculates shortest path lengths for given vertices in a graph.
-
igraph._igraph.GraphBase.simplify
igraph._igraph.GraphBase.html#simplify
Function
Method
PUBLIC
Simplifies a graph by removing self-loops and/or multiple edges.
-
igraph._igraph.GraphBase._spanning_tree
igraph._igraph.GraphBase.html#_spanning_tree
Function
Method
PRIVATE
Internal function, undocumented.
-
igraph._igraph.GraphBase.subcomponent
igraph._igraph.GraphBase.html#subcomponent
Function
Method
PUBLIC
Determines the indices of vertices which are in the same component as a given vertex.
-
igraph._igraph.GraphBase.subgraph_edges
igraph._igraph.GraphBase.html#subgraph_edges
Function
Method
PUBLIC
Returns a subgraph spanned by the given edges.
-
igraph._igraph.GraphBase.topological_sorting
igraph._igraph.GraphBase.html#topological_sorting
Function
Method
PUBLIC
Calculates a possible topological sorting of the graph.
-
igraph._igraph.GraphBase.to_prufer
igraph._igraph.GraphBase.html#to_prufer
Function
Method
PUBLIC
Converts a tree graph into a Prufer sequence.
-
igraph._igraph.GraphBase.transitivity_undirected
igraph._igraph.GraphBase.html#transitivity_undirected
Function
Method
PUBLIC
Calculates the global transitivity (clustering coefficient) of the graph.
-
igraph._igraph.GraphBase.transitivity_local_undirected
igraph._igraph.GraphBase.html#transitivity_local_undirected
Function
Method
PUBLIC
Calculates the local transitivity (clustering coefficient) of the given vertices in the graph.
-
igraph._igraph.GraphBase.transitivity_avglocal_undirected
igraph._igraph.GraphBase.html#transitivity_avglocal_undirected
Function
Method
PUBLIC
Calculates the average of the vertex transitivities of the graph.
-
igraph._igraph.GraphBase.unfold_tree
igraph._igraph.GraphBase.html#unfold_tree
Function
Method
PUBLIC
Unfolds the graph using a BFS to a tree by duplicating vertices as necessary.
-
igraph._igraph.GraphBase.vertex_connectivity
igraph._igraph.GraphBase.html#vertex_connectivity
Function
Method
PUBLIC
Calculates the vertex connectivity of the graph or between some vertices.
-
igraph._igraph.GraphBase.bibcoupling
igraph._igraph.GraphBase.html#bibcoupling
Function
Method
PUBLIC
Calculates bibliographic coupling scores for given vertices in a graph.
-
igraph._igraph.GraphBase.cocitation
igraph._igraph.GraphBase.html#cocitation
Function
Method
PUBLIC
Calculates cocitation scores for given vertices in a graph.
-
igraph._igraph.GraphBase.similarity_dice
igraph._igraph.GraphBase.html#similarity_dice
Function
Method
PUBLIC
Dice similarity coefficient of vertices.
-
igraph._igraph.GraphBase.similarity_inverse_log_weighted
igraph._igraph.GraphBase.html#similarity_inverse_log_weighted
Function
Method
PUBLIC
Inverse log-weighted similarity coefficient of vertices.
-
igraph._igraph.GraphBase.similarity_jaccard
igraph._igraph.GraphBase.html#similarity_jaccard
Function
Method
PUBLIC
Jaccard similarity coefficient of vertices.
-
igraph._igraph.GraphBase.motifs_randesu
igraph._igraph.GraphBase.html#motifs_randesu
Function
Method
PUBLIC
Counts the number of motifs in the graph
-
igraph._igraph.GraphBase.motifs_randesu_no
igraph._igraph.GraphBase.html#motifs_randesu_no
Function
Method
PUBLIC
Counts the total number of motifs in the graph
-
igraph._igraph.GraphBase.motifs_randesu_estimate
igraph._igraph.GraphBase.html#motifs_randesu_estimate
Function
Method
PUBLIC
Counts the total number of motifs in the graph
-
igraph._igraph.GraphBase.dyad_census
igraph._igraph.GraphBase.html#dyad_census
Function
Method
PUBLIC
Dyad census, as defined by Holland and Leinhardt
-
igraph._igraph.GraphBase.triad_census
igraph._igraph.GraphBase.html#triad_census
Function
Method
PUBLIC
Triad census, as defined by Davis and Leinhardt
-
igraph._igraph.GraphBase.layout_bipartite
igraph._igraph.GraphBase.html#layout_bipartite
Function
Method
PUBLIC
Place the vertices of a bipartite graph in two layers.
-
igraph._igraph.GraphBase.layout_circle
igraph._igraph.GraphBase.html#layout_circle
Function
Method
PUBLIC
Places the vertices of the graph uniformly on a circle or a sphere.
-
igraph._igraph.GraphBase.layout_grid
igraph._igraph.GraphBase.html#layout_grid
Function
Method
PUBLIC
Places the vertices of a graph in a 2D or 3D grid.
-
igraph._igraph.GraphBase.layout_star
igraph._igraph.GraphBase.html#layout_star
Function
Method
PUBLIC
Calculates a star-like layout for the graph.
-
igraph._igraph.GraphBase.layout_kamada_kawai
igraph._igraph.GraphBase.html#layout_kamada_kawai
Function
Method
PUBLIC
Places the vertices on a plane according to the Kamada-Kawai algorithm.
-
igraph._igraph.GraphBase.layout_davidson_harel
igraph._igraph.GraphBase.html#layout_davidson_harel
Function
Method
PUBLIC
Places the vertices on a 2D plane according to the Davidson-Harel layout algorithm.
-
igraph._igraph.GraphBase.layout_drl
igraph._igraph.GraphBase.html#layout_drl
Function
Method
PUBLIC
Places the vertices on a 2D plane or in the 3D space ccording to the DrL layout algorithm.
-
igraph._igraph.GraphBase.layout_fruchterman_reingold
igraph._igraph.GraphBase.html#layout_fruchterman_reingold
Function
Method
PUBLIC
Places the vertices on a 2D plane according to the Fruchterman-Reingold algorithm.
-
igraph._igraph.GraphBase.layout_graphopt
igraph._igraph.GraphBase.html#layout_graphopt
Function
Method
PUBLIC
This is a port of the graphopt layout algorithm by Michael Schmuhl. graphopt version 0.4.1 was rewritten in C and the support for layers was removed.
-
igraph._igraph.GraphBase.layout_lgl
igraph._igraph.GraphBase.html#layout_lgl
Function
Method
PUBLIC
Places the vertices on a 2D plane according to the Large Graph Layout.
-
igraph._igraph.GraphBase.layout_mds
igraph._igraph.GraphBase.html#layout_mds
Function
Method
PUBLIC
Places the vertices in an Euclidean space with the given number of dimensions using multidimensional scaling.
-
igraph._igraph.GraphBase.layout_reingold_tilford
igraph._igraph.GraphBase.html#layout_reingold_tilford
Function
Method
PUBLIC
Places the vertices on a 2D plane according to the Reingold-Tilford layout algorithm.
-
igraph._igraph.GraphBase.layout_reingold_tilford_circular
igraph._igraph.GraphBase.html#layout_reingold_tilford_circular
Function
Method
PUBLIC
Circular Reingold-Tilford layout for trees.
-
igraph._igraph.GraphBase.layout_random
igraph._igraph.GraphBase.html#layout_random
Function
Method
PUBLIC
Places the vertices of the graph randomly.
-
igraph._igraph.GraphBase._layout_sugiyama
igraph._igraph.GraphBase.html#_layout_sugiyama
Function
Method
PRIVATE
Internal function, undocumented.
-
igraph._igraph.GraphBase.bfs
igraph._igraph.GraphBase.html#bfs
Function
Method
PUBLIC
Conducts a breadth first search (BFS) on the graph.
-
igraph._igraph.GraphBase.bfsiter
igraph._igraph.GraphBase.html#bfsiter
Function
Method
PUBLIC
Constructs a breadth first search (BFS) iterator of the graph.
-
igraph._igraph.GraphBase.dfsiter
igraph._igraph.GraphBase.html#dfsiter
Function
Method
PUBLIC
Constructs a depth first search (DFS) iterator of the graph.
-
igraph._igraph.GraphBase.get_adjacency
igraph._igraph.GraphBase.html#get_adjacency
Function
Method
PUBLIC
Returns the adjacency matrix of a graph.
-
igraph._igraph.GraphBase.get_edgelist
igraph._igraph.GraphBase.html#get_edgelist
Function
Method
PUBLIC
Returns the edge list of a graph.
-
igraph._igraph.GraphBase.get_incidence
igraph._igraph.GraphBase.html#get_incidence
Function
Method
PUBLIC
Internal function, undocumented.
-
igraph._igraph.GraphBase.to_directed
igraph._igraph.GraphBase.html#to_directed
Function
Method
PUBLIC
Converts an undirected graph to directed.
-
igraph._igraph.GraphBase.to_undirected
igraph._igraph.GraphBase.html#to_undirected
Function
Method
PUBLIC
Converts a directed graph to undirected.
-
igraph._igraph.GraphBase.laplacian
igraph._igraph.GraphBase.html#laplacian
Function
Method
PUBLIC
Returns the Laplacian matrix of a graph.
-
igraph._igraph.GraphBase.Read_DIMACS
igraph._igraph.GraphBase.html#Read_DIMACS
Function
Method
PUBLIC
Reads a graph from a file conforming to the DIMACS minimum-cost flow file format.
-
igraph._igraph.GraphBase.Read_DL
igraph._igraph.GraphBase.html#Read_DL
Function
Method
PUBLIC
Reads an UCINET DL file and creates a graph based on it.
-
igraph._igraph.GraphBase.Read_Edgelist
igraph._igraph.GraphBase.html#Read_Edgelist
Function
Method
PUBLIC
Reads an edge list from a file and creates a graph based on it.
-
igraph._igraph.GraphBase.Read_GraphDB
igraph._igraph.GraphBase.html#Read_GraphDB
Function
Method
PUBLIC
Reads a GraphDB format file and creates a graph based on it.
-
igraph._igraph.GraphBase.Read_GraphML
igraph._igraph.GraphBase.html#Read_GraphML
Function
Method
PUBLIC
Reads a GraphML format file and creates a graph based on it.
-
igraph._igraph.GraphBase.Read_GML
igraph._igraph.GraphBase.html#Read_GML
Function
Method
PUBLIC
Reads a GML file and creates a graph based on it.
-
igraph._igraph.GraphBase.Read_Ncol
igraph._igraph.GraphBase.html#Read_Ncol
Function
Method
PUBLIC
Reads an .ncol file used by LGL.
-
igraph._igraph.GraphBase.Read_Lgl
igraph._igraph.GraphBase.html#Read_Lgl
Function
Method
PUBLIC
Reads an .lgl file used by LGL.
-
igraph._igraph.GraphBase.Read_Pajek
igraph._igraph.GraphBase.html#Read_Pajek
Function
Method
PUBLIC
Reads a Pajek format file and creates a graph based on it.
-
igraph._igraph.GraphBase.write_dimacs
igraph._igraph.GraphBase.html#write_dimacs
Function
Method
PUBLIC
Writes the graph in DIMACS format to the given file.
-
igraph._igraph.GraphBase.write_dot
igraph._igraph.GraphBase.html#write_dot
Function
Method
PUBLIC
Writes the graph in DOT format to the given file.
-
igraph._igraph.GraphBase.write_edgelist
igraph._igraph.GraphBase.html#write_edgelist
Function
Method
PUBLIC
Writes the edge list of a graph to a file.
-
igraph._igraph.GraphBase.write_gml
igraph._igraph.GraphBase.html#write_gml
Function
Method
PUBLIC
Writes the graph in GML format to the given file.
-
igraph._igraph.GraphBase.write_ncol
igraph._igraph.GraphBase.html#write_ncol
Function
Method
PUBLIC
Writes the edge list of a graph to a file in .ncol format.
-
igraph._igraph.GraphBase.write_lgl
igraph._igraph.GraphBase.html#write_lgl
Function
Method
PUBLIC
Writes the edge list of a graph to a file in .lgl format.
-
igraph._igraph.GraphBase.write_pajek
igraph._igraph.GraphBase.html#write_pajek
Function
Method
PUBLIC
Writes the graph in Pajek format to the given file.
-
igraph._igraph.GraphBase.write_graphml
igraph._igraph.GraphBase.html#write_graphml
Function
Method
PUBLIC
Writes the graph to a GraphML file.
-
igraph._igraph.GraphBase.write_leda
igraph._igraph.GraphBase.html#write_leda
Function
Method
PUBLIC
Writes the graph to a file in LEDA native format.
-
igraph._igraph.GraphBase.canonical_permutation
igraph._igraph.GraphBase.html#canonical_permutation
Function
Method
PUBLIC
Calculates the canonical permutation of a graph using the BLISS isomorphism algorithm.
-
igraph._igraph.GraphBase.isoclass
igraph._igraph.GraphBase.html#isoclass
Function
Method
PUBLIC
Returns the isomorphism class of the graph or its subgraph.
-
igraph._igraph.GraphBase.isomorphic
igraph._igraph.GraphBase.html#isomorphic
Function
Method
PUBLIC
Checks whether the graph is isomorphic to another graph.
-
igraph._igraph.GraphBase.isomorphic_bliss
igraph._igraph.GraphBase.html#isomorphic_bliss
Function
Method
PUBLIC
Checks whether the graph is isomorphic to another graph, using the BLISS isomorphism algorithm.
-
igraph._igraph.GraphBase.isomorphic_vf2
igraph._igraph.GraphBase.html#isomorphic_vf2
Function
Method
PUBLIC
Checks whether the graph is isomorphic to another graph, using the VF2 isomorphism algorithm.
-
igraph._igraph.GraphBase.count_isomorphisms_vf2
igraph._igraph.GraphBase.html#count_isomorphisms_vf2
Function
Method
PUBLIC
Determines the number of isomorphisms between the graph and another one
-
igraph._igraph.GraphBase.get_isomorphisms_vf2
igraph._igraph.GraphBase.html#get_isomorphisms_vf2
Function
Method
PUBLIC
Returns all isomorphisms between the graph and another one
-
igraph._igraph.GraphBase.subisomorphic_vf2
igraph._igraph.GraphBase.html#subisomorphic_vf2
Function
Method
PUBLIC
Checks whether a subgraph of the graph is isomorphic to another graph.
-
igraph._igraph.GraphBase.count_subisomorphisms_vf2
igraph._igraph.GraphBase.html#count_subisomorphisms_vf2
Function
Method
PUBLIC
Determines the number of subisomorphisms between the graph and another one
-
igraph._igraph.GraphBase.get_subisomorphisms_vf2
igraph._igraph.GraphBase.html#get_subisomorphisms_vf2
Function
Method
PUBLIC
Returns all subisomorphisms between the graph and another one
-
igraph._igraph.GraphBase.subisomorphic_lad
igraph._igraph.GraphBase.html#subisomorphic_lad
Function
Method
PUBLIC
Checks whether a subgraph of the graph is isomorphic to another graph.
-
igraph._igraph.GraphBase.get_subisomorphisms_lad
igraph._igraph.GraphBase.html#get_subisomorphisms_lad
Function
Method
PUBLIC
Returns all subisomorphisms between the graph and another one using the LAD algorithm.
-
igraph._igraph.GraphBase.attributes
igraph._igraph.GraphBase.html#attributes
Function
Method
PUBLIC
No summary
-
igraph._igraph.GraphBase.vertex_attributes
igraph._igraph.GraphBase.html#vertex_attributes
Function
Method
PUBLIC
No summary
-
igraph._igraph.GraphBase.edge_attributes
igraph._igraph.GraphBase.html#edge_attributes
Function
Method
PUBLIC
No summary
-
igraph._igraph.GraphBase.complementer
igraph._igraph.GraphBase.html#complementer
Function
Method
PUBLIC
Returns the complementer of the graph
-
igraph._igraph.GraphBase.compose
igraph._igraph.GraphBase.html#compose
Function
Method
PUBLIC
Returns the composition of two graphs.
-
igraph._igraph.GraphBase.difference
igraph._igraph.GraphBase.html#difference
Function
Method
PUBLIC
Subtracts the given graph from the original
-
igraph._igraph.GraphBase.dominator
igraph._igraph.GraphBase.html#dominator
Function
Method
PUBLIC
Returns the dominator tree from the given root node
-
igraph._igraph.GraphBase.maxflow_value
igraph._igraph.GraphBase.html#maxflow_value
Function
Method
PUBLIC
Returns the value of the maximum flow between the source and target vertices.
-
igraph._igraph.GraphBase.maxflow
igraph._igraph.GraphBase.html#maxflow
Function
Method
PUBLIC
Returns the maximum flow between the source and target vertices.
-
igraph._igraph.GraphBase.all_st_cuts
igraph._igraph.GraphBase.html#all_st_cuts
Function
Method
PUBLIC
Returns all the cuts between the source and target vertices in a directed graph.
-
igraph._igraph.GraphBase.all_st_mincuts
igraph._igraph.GraphBase.html#all_st_mincuts
Function
Method
PUBLIC
Returns all minimum cuts between the source and target vertices in a directed graph.
-
igraph._igraph.GraphBase.mincut_value
igraph._igraph.GraphBase.html#mincut_value
Function
Method
PUBLIC
Returns the minimum cut between the source and target vertices or within the whole graph.
-
igraph._igraph.GraphBase.mincut
igraph._igraph.GraphBase.html#mincut
Function
Method
PUBLIC
Calculates the minimum cut between the source and target vertices or within the whole graph.
-
igraph._igraph.GraphBase.st_mincut
igraph._igraph.GraphBase.html#st_mincut
Function
Method
PUBLIC
Calculates the minimum cut between the source and target vertices in a graph.
-
igraph._igraph.GraphBase.gomory_hu_tree
igraph._igraph.GraphBase.html#gomory_hu_tree
Function
Method
PUBLIC
Internal function, undocumented.
-
igraph._igraph.GraphBase.all_minimal_st_separators
igraph._igraph.GraphBase.html#all_minimal_st_separators
Function
Method
PUBLIC
Returns a list containing all the minimal s-t separators of a graph.
-
igraph._igraph.GraphBase.is_minimal_separator
igraph._igraph.GraphBase.html#is_minimal_separator
Function
Method
PUBLIC
Decides whether the given vertex set is a minimal separator.
-
igraph._igraph.GraphBase.is_separator
igraph._igraph.GraphBase.html#is_separator
Function
Method
PUBLIC
Decides whether the removal of the given vertices disconnects the graph.
-
igraph._igraph.GraphBase.minimum_size_separators
igraph._igraph.GraphBase.html#minimum_size_separators
Function
Method
PUBLIC
Returns a list containing all separator vertex sets of minimum size.
-
igraph._igraph.GraphBase.cohesive_blocks
igraph._igraph.GraphBase.html#cohesive_blocks
Function
Method
PUBLIC
Calculates the cohesive block structure of the graph.
-
igraph._igraph.GraphBase.cliques
igraph._igraph.GraphBase.html#cliques
Function
Method
PUBLIC
Returns some or all cliques of the graph as a list of tuples.
-
igraph._igraph.GraphBase.largest_cliques
igraph._igraph.GraphBase.html#largest_cliques
Function
Method
PUBLIC
Returns the largest cliques of the graph as a list of tuples.
-
igraph._igraph.GraphBase.maximal_cliques
igraph._igraph.GraphBase.html#maximal_cliques
Function
Method
PUBLIC
Returns the maximal cliques of the graph as a list of tuples.
-
igraph._igraph.GraphBase.clique_number
igraph._igraph.GraphBase.html#clique_number
Function
Method
PUBLIC
Returns the clique number of the graph.
-
igraph._igraph.GraphBase.independent_vertex_sets
igraph._igraph.GraphBase.html#independent_vertex_sets
Function
Method
PUBLIC
Returns some or all independent vertex sets of the graph as a list of tuples.
-
igraph._igraph.GraphBase.largest_independent_vertex_sets
igraph._igraph.GraphBase.html#largest_independent_vertex_sets
Function
Method
PUBLIC
Returns the largest independent vertex sets of the graph as a list of tuples.
-
igraph._igraph.GraphBase.maximal_independent_vertex_sets
igraph._igraph.GraphBase.html#maximal_independent_vertex_sets
Function
Method
PUBLIC
Returns the maximal independent vertex sets of the graph as a list of tuples.
-
igraph._igraph.GraphBase.independence_number
igraph._igraph.GraphBase.html#independence_number
Function
Method
PUBLIC
Returns the independence number of the graph.
-
igraph._igraph.GraphBase.modularity
igraph._igraph.GraphBase.html#modularity
Function
Method
PUBLIC
Calculates the modularity of the graph with respect to some vertex types.
-
igraph._igraph.GraphBase.coreness
igraph._igraph.GraphBase.html#coreness
Function
Method
PUBLIC
Finds the coreness (shell index) of the vertices of the network.
-
igraph._igraph.GraphBase._is_matching
igraph._igraph.GraphBase.html#_is_matching
Function
Method
PRIVATE
Internal function, undocumented.
-
igraph._igraph.GraphBase._is_maximal_matching
igraph._igraph.GraphBase.html#_is_maximal_matching
Function
Method
PRIVATE
Internal function, undocumented.
-
igraph._igraph.GraphBase._maximum_bipartite_matching
igraph._igraph.GraphBase.html#_maximum_bipartite_matching
Function
Method
PRIVATE
Internal function, undocumented.
-
igraph._igraph.GraphBase.random_walk
igraph._igraph.GraphBase.html#random_walk
Function
Method
PUBLIC
Performs a random walk of a given length from a given node.
-
igraph._igraph.GraphBase.__graph_as_capsule
igraph._igraph.GraphBase.html#__graph_as_capsule
Function
Method
PRIVATE
__graph_as_capsule()
-
igraph._igraph.GraphBase._raw_pointer
igraph._igraph.GraphBase.html#_raw_pointer
Function
Method
PRIVATE
Returns the memory address of the igraph graph encapsulated by the Python object as an ordinary Python integer.
-
igraph._igraph.GraphBase.__register_destructor
igraph._igraph.GraphBase.html#__register_destructor
Function
Method
PRIVATE
Registers a destructor to be called when the object is freed by Python. This function should not be used directly by igraph users.
-
igraph._igraph.BFSIter
igraph._igraph.BFSIter.html
Class
Class
PUBLIC
igraph BFS iterator object
-
igraph._igraph.DFSIter
igraph._igraph.DFSIter.html
Class
Class
PUBLIC
igraph DFS iterator object
-
igraph._igraph.ARPACKOptions
igraph._igraph.ARPACKOptions.html
Class
Class
PUBLIC
Class representing the parameters of the ARPACK module.
-
igraph._igraph.ARPACKOptions.__new__
igraph._igraph.ARPACKOptions.html#__new__
Function
Method
PUBLIC
Create and return a new object. See help(type) for accurate signature.
-
igraph._igraph.Edge
igraph._igraph.Edge.html
Class
Class
PUBLIC
Class representing a single edge in a graph.
-
igraph._igraph.Edge.attributes
igraph._igraph.Edge.html#attributes
Function
Method
PUBLIC
Returns a dict of attribute names and values for the edge
-
igraph._igraph.Edge.attribute_names
igraph._igraph.Edge.html#attribute_names
Function
Method
PUBLIC
Returns the list of edge attribute names
-
igraph._igraph.Edge.update_attributes
igraph._igraph.Edge.html#update_attributes
Function
Method
PUBLIC
Updates the attributes of the edge from dict/iterable E and F.
-
igraph._igraph.Edge.count_multiple
igraph._igraph.Edge.html#count_multiple
Function
Method
PUBLIC
-
igraph._igraph.Edge.delete
igraph._igraph.Edge.html#delete
Function
Method
PUBLIC
-
igraph._igraph.Edge.is_loop
igraph._igraph.Edge.html#is_loop
Function
Method
PUBLIC
-
igraph._igraph.Edge.is_multiple
igraph._igraph.Edge.html#is_multiple
Function
Method
PUBLIC
-
igraph._igraph.Edge.is_mutual
igraph._igraph.Edge.html#is_mutual
Function
Method
PUBLIC
-
igraph._igraph.EdgeSeq
igraph._igraph.EdgeSeq.html
Class
Class
PUBLIC
Low-level representation of an edge sequence.
-
igraph._igraph.EdgeSeq.__new__
igraph._igraph.EdgeSeq.html#__new__
Function
Method
PUBLIC
Create and return a new object. See help(type) for accurate signature.
-
igraph._igraph.EdgeSeq.attribute_names
igraph._igraph.EdgeSeq.html#attribute_names
Function
Method
PUBLIC
Returns the attribute name list of the graph's edges
-
igraph._igraph.EdgeSeq.find
igraph._igraph.EdgeSeq.html#find
Function
Method
PUBLIC
For internal use only.
-
igraph._igraph.EdgeSeq.get_attribute_values
igraph._igraph.EdgeSeq.html#get_attribute_values
Function
Method
PUBLIC
Returns the value of a given edge attribute for all edges.
-
igraph._igraph.EdgeSeq.is_all
igraph._igraph.EdgeSeq.html#is_all
Function
Method
PUBLIC
Returns whether the edge sequence contains all the edges exactly once, in the order of their edge IDs.
-
igraph._igraph.EdgeSeq.set_attribute_values
igraph._igraph.EdgeSeq.html#set_attribute_values
Function
Method
PUBLIC
Sets the value of a given edge attribute for all vertices
-
igraph._igraph.EdgeSeq.select
igraph._igraph.EdgeSeq.html#select
Function
Method
PUBLIC
For internal use only.
-
igraph._igraph.Vertex
igraph._igraph.Vertex.html
Class
Class
PUBLIC
Class representing a single vertex in a graph.
-
igraph._igraph.Vertex.attributes
igraph._igraph.Vertex.html#attributes
Function
Method
PUBLIC
Returns a dict of attribute names and values for the vertex
-
igraph._igraph.Vertex.attribute_names
igraph._igraph.Vertex.html#attribute_names
Function
Method
PUBLIC
Returns the list of vertex attribute names
-
igraph._igraph.Vertex.update_attributes
igraph._igraph.Vertex.html#update_attributes
Function
Method
PUBLIC
Updates the attributes of the vertex from dict/iterable E and F.
-
igraph._igraph.Vertex.all_edges
igraph._igraph.Vertex.html#all_edges
Function
Method
PUBLIC
-
igraph._igraph.Vertex.in_edges
igraph._igraph.Vertex.html#in_edges
Function
Method
PUBLIC
-
igraph._igraph.Vertex.out_edges
igraph._igraph.Vertex.html#out_edges
Function
Method
PUBLIC
-
igraph._igraph.Vertex.betweenness
igraph._igraph.Vertex.html#betweenness
Function
Method
PUBLIC
-
igraph._igraph.Vertex.closeness
igraph._igraph.Vertex.html#closeness
Function
Method
PUBLIC
-
igraph._igraph.Vertex.constraint
igraph._igraph.Vertex.html#constraint
Function
Method
PUBLIC
-
igraph._igraph.Vertex.degree
igraph._igraph.Vertex.html#degree
Function
Method
PUBLIC
-
igraph._igraph.Vertex.delete
igraph._igraph.Vertex.html#delete
Function
Method
PUBLIC
-
igraph._igraph.Vertex.diversity
igraph._igraph.Vertex.html#diversity
Function
Method
PUBLIC
-
igraph._igraph.Vertex.eccentricity
igraph._igraph.Vertex.html#eccentricity
Function
Method
PUBLIC
-
igraph._igraph.Vertex.get_shortest_paths
igraph._igraph.Vertex.html#get_shortest_paths
Function
Method
PUBLIC
-
igraph._igraph.Vertex.incident
igraph._igraph.Vertex.html#incident
Function
Method
PUBLIC
-
igraph._igraph.Vertex.indegree
igraph._igraph.Vertex.html#indegree
Function
Method
PUBLIC
Proxy method to Graph.indegree()
-
igraph._igraph.Vertex.is_minimal_separator
igraph._igraph.Vertex.html#is_minimal_separator
Function
Method
PUBLIC
-
igraph._igraph.Vertex.is_separator
igraph._igraph.Vertex.html#is_separator
Function
Method
PUBLIC
-
igraph._igraph.Vertex.neighbors
igraph._igraph.Vertex.html#neighbors
Function
Method
PUBLIC
-
igraph._igraph.Vertex.outdegree
igraph._igraph.Vertex.html#outdegree
Function
Method
PUBLIC
Proxy method to Graph.outdegree()
-
igraph._igraph.Vertex.predecessors
igraph._igraph.Vertex.html#predecessors
Function
Method
PUBLIC
-
igraph._igraph.Vertex.shortest_paths
igraph._igraph.Vertex.html#shortest_paths
Function
Method
PUBLIC
-
igraph._igraph.Vertex.strength
igraph._igraph.Vertex.html#strength
Function
Method
PUBLIC
-
igraph._igraph.Vertex.successors
igraph._igraph.Vertex.html#successors
Function
Method
PUBLIC
-
igraph._igraph.VertexSeq
igraph._igraph.VertexSeq.html
Class
Class
PUBLIC
Low-level representation of a vertex sequence.
-
igraph._igraph.VertexSeq.__new__
igraph._igraph.VertexSeq.html#__new__
Function
Method
PUBLIC
Create and return a new object. See help(type) for accurate signature.
-
igraph._igraph.VertexSeq.attribute_names
igraph._igraph.VertexSeq.html#attribute_names
Function
Method
PUBLIC
Returns the attribute name list of the graph's vertices
-
igraph._igraph.VertexSeq.find
igraph._igraph.VertexSeq.html#find
Function
Method
PUBLIC
For internal use only.
-
igraph._igraph.VertexSeq.get_attribute_values
igraph._igraph.VertexSeq.html#get_attribute_values
Function
Method
PUBLIC
Returns the value of a given vertex attribute for all vertices in a list.
-
igraph._igraph.VertexSeq.set_attribute_values
igraph._igraph.VertexSeq.html#set_attribute_values
Function
Method
PUBLIC
Sets the value of a given vertex attribute for all vertices
-
igraph._igraph.VertexSeq.select
igraph._igraph.VertexSeq.html#select
Function
Method
PUBLIC
For internal use only.
-
igraph._igraph.VertexSeq._reindex_names
igraph._igraph.VertexSeq.html#_reindex_names
Function
Method
PRIVATE
Re-creates the dictionary that maps vertex names to IDs.
-
igraph._igraph.InternalError
igraph._igraph.InternalError.html
Class
Class
PUBLIC
Undocumented
-
igraph.configuration.get_platform_image_viewer
igraph.configuration.html#get_platform_image_viewer
Function
Function
PUBLIC
Returns the path of an image viewer on the given platform.
-
igraph.configuration.Configuration
igraph.configuration.Configuration.html
Class
Class
PUBLIC
Class representing igraph configuration details.
-
igraph.configuration.Configuration.Types
igraph.configuration.Configuration.Types.html
Class
Class
PUBLIC
Static class for the implementation of custom getter/setter functions for configuration keys
-
igraph.configuration.Configuration.Types.__init__
igraph.configuration.Configuration.Types.html#__init__
Function
Method
PUBLIC
Undocumented
-
igraph.configuration.Configuration.Types.setboolean
igraph.configuration.Configuration.Types.html#setboolean
Function
Static Method
PUBLIC
Sets a boolean value in the given configuration object.
-
igraph.configuration.Configuration.Types.setint
igraph.configuration.Configuration.Types.html#setint
Function
Static Method
PUBLIC
Sets an integer value in the given configuration object.
-
igraph.configuration.Configuration.Types.setfloat
igraph.configuration.Configuration.Types.html#setfloat
Function
Static Method
PUBLIC
Sets a float value in the given configuration object.
-
igraph.configuration.Configuration._types
igraph.configuration.Configuration.html#_types
Attribute
Class Variable
PRIVATE
Undocumented
-
igraph.configuration.Configuration._sections
igraph.configuration.Configuration.html#_sections
Attribute
Class Variable
PRIVATE
Undocumented
-
igraph.configuration.Configuration._definitions
igraph.configuration.Configuration.html#_definitions
Attribute
Class Variable
PRIVATE
Undocumented
-
igraph.configuration.Configuration._instance
igraph.configuration.Configuration.html#_instance
Attribute
Class Variable
PRIVATE
Undocumented
-
igraph.configuration.Configuration.__init__
igraph.configuration.Configuration.html#__init__
Function
Method
PUBLIC
Creates a new configuration instance.
-
igraph.configuration.Configuration._config
igraph.configuration.Configuration.html#_config
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.configuration.Configuration._filename
igraph.configuration.Configuration.html#_filename
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.configuration.Configuration.filename
igraph.configuration.Configuration.html#filename
Attribute
Property
PUBLIC
Returns the filename associated to the object.
-
igraph.configuration.Configuration._get
igraph.configuration.Configuration.html#_get
Function
Method
PRIVATE
Internal function that returns the value of a given key in a given section.
-
igraph.configuration.Configuration._item_to_section_key
igraph.configuration.Configuration.html#_item_to_section_key
Function
Static Method
PRIVATE
Converts an item description to a section-key pair.
-
igraph.configuration.Configuration.__contains__
igraph.configuration.Configuration.html#__contains__
Function
Method
PUBLIC
Checks whether the given configuration item is set.
-
igraph.configuration.Configuration.__getitem__
igraph.configuration.Configuration.html#__getitem__
Function
Method
PUBLIC
Returns the given configuration item.
-
igraph.configuration.Configuration.__setitem__
igraph.configuration.Configuration.html#__setitem__
Function
Method
PUBLIC
Sets the given configuration item.
-
igraph.configuration.Configuration.__delitem__
igraph.configuration.Configuration.html#__delitem__
Function
Method
PUBLIC
Deletes the given item from the configuration.
-
igraph.configuration.Configuration.has_key
igraph.configuration.Configuration.html#has_key
Function
Method
PUBLIC
Checks if the configuration has a given key.
-
igraph.configuration.Configuration.load
igraph.configuration.Configuration.html#load
Function
Method
PUBLIC
Loads the configuration from the given file.
-
igraph.configuration.Configuration.save
igraph.configuration.Configuration.html#save
Function
Method
PUBLIC
Saves the configuration.
-
igraph.configuration.Configuration.instance
igraph.configuration.Configuration.html#instance
Function
Class Method
PUBLIC
Returns the single instance of the configuration object.
-
igraph.configuration.get_user_config_file
igraph.configuration.html#get_user_config_file
Function
Function
PUBLIC
Returns the path where the user-level configuration file is stored
-
igraph.configuration.init
igraph.configuration.html#init
Function
Function
PUBLIC
Default mechanism to initiate igraph configuration
-
igraph.datatypes.Matrix
igraph.datatypes.Matrix.html
Class
Class
PUBLIC
Simple matrix data type.
-
igraph.datatypes.Matrix.__init__
igraph.datatypes.Matrix.html#__init__
Function
Method
PUBLIC
Initializes a matrix.
-
igraph.datatypes.Matrix._nrow
igraph.datatypes.Matrix.html#_nrow
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.datatypes.Matrix._ncol
igraph.datatypes.Matrix.html#_ncol
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.datatypes.Matrix._data
igraph.datatypes.Matrix.html#_data
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.datatypes.Matrix.data
igraph.datatypes.Matrix.html#data
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.datatypes.Matrix.Fill
igraph.datatypes.Matrix.html#Fill
Function
Class Method
PUBLIC
Creates a matrix filled with the given value
-
igraph.datatypes.Matrix.Zero
igraph.datatypes.Matrix.html#Zero
Function
Class Method
PUBLIC
Creates a matrix filled with zeros.
-
igraph.datatypes.Matrix.Identity
igraph.datatypes.Matrix.html#Identity
Function
Class Method
PUBLIC
Creates an identity matrix.
-
igraph.datatypes.Matrix._set_data
igraph.datatypes.Matrix.html#_set_data
Function
Method
PRIVATE
Sets the data stored in the matrix
-
igraph.datatypes.Matrix._get_data
igraph.datatypes.Matrix.html#_get_data
Function
Method
PRIVATE
Returns the data stored in the matrix as a list of lists
-
igraph.datatypes.Matrix.shape
igraph.datatypes.Matrix.html#shape
Attribute
Property
PUBLIC
Returns the shape of the matrix as a tuple
-
igraph.datatypes.Matrix.__add__
igraph.datatypes.Matrix.html#__add__
Function
Method
PUBLIC
Adds the given value to the matrix.
-
igraph.datatypes.Matrix.__eq__
igraph.datatypes.Matrix.html#__eq__
Function
Method
PUBLIC
Checks whether a given matrix is equal to another one
-
igraph.datatypes.Matrix.__getitem__
igraph.datatypes.Matrix.html#__getitem__
Function
Method
PUBLIC
Returns a single item, a row or a column of the matrix
-
igraph.datatypes.Matrix.__hash__
igraph.datatypes.Matrix.html#__hash__
Function
Method
PUBLIC
Returns a hash value for a matrix.
-
igraph.datatypes.Matrix.__iadd__
igraph.datatypes.Matrix.html#__iadd__
Function
Method
PUBLIC
In-place addition of a matrix or scalar.
-
igraph.datatypes.Matrix.__isub__
igraph.datatypes.Matrix.html#__isub__
Function
Method
PUBLIC
In-place subtraction of a matrix or scalar.
-
igraph.datatypes.Matrix.__ne__
igraph.datatypes.Matrix.html#__ne__
Function
Method
PUBLIC
Checks whether a given matrix is not equal to another one
-
igraph.datatypes.Matrix.__setitem__
igraph.datatypes.Matrix.html#__setitem__
Function
Method
PUBLIC
Sets a single item, a row or a column of the matrix
-
igraph.datatypes.Matrix.__sub__
igraph.datatypes.Matrix.html#__sub__
Function
Method
PUBLIC
Subtracts the given value from the matrix.
-
igraph.datatypes.Matrix.__repr__
igraph.datatypes.Matrix.html#__repr__
Function
Method
PUBLIC
Undocumented
-
igraph.datatypes.Matrix.__str__
igraph.datatypes.Matrix.html#__str__
Function
Method
PUBLIC
Undocumented
-
igraph.datatypes.Matrix.__iter__
igraph.datatypes.Matrix.html#__iter__
Function
Method
PUBLIC
Support for iteration.
-
igraph.datatypes.Matrix.__plot__
igraph.datatypes.Matrix.html#__plot__
Function
Method
PUBLIC
Plots the matrix to the given Cairo context in the given box
-
igraph.datatypes.Matrix.min
igraph.datatypes.Matrix.html#min
Function
Method
PUBLIC
Returns the minimum of the matrix along the given dimension
-
igraph.datatypes.Matrix.max
igraph.datatypes.Matrix.html#max
Function
Method
PUBLIC
Returns the maximum of the matrix along the given dimension
-
igraph.datatypes.DyadCensus
igraph.datatypes.DyadCensus.html
Class
Class
PUBLIC
Dyad census of a graph.
-
igraph.datatypes.DyadCensus._remap
igraph.datatypes.DyadCensus.html#_remap
Attribute
Class Variable
PRIVATE
Undocumented
-
igraph.datatypes.DyadCensus.__getitem__
igraph.datatypes.DyadCensus.html#__getitem__
Function
Method
PUBLIC
Undocumented
-
igraph.datatypes.DyadCensus.__getattr__
igraph.datatypes.DyadCensus.html#__getattr__
Function
Method
PUBLIC
Undocumented
-
igraph.datatypes.DyadCensus.__repr__
igraph.datatypes.DyadCensus.html#__repr__
Function
Method
PUBLIC
Undocumented
-
igraph.datatypes.DyadCensus.__str__
igraph.datatypes.DyadCensus.html#__str__
Function
Method
PUBLIC
Undocumented
-
igraph.datatypes.DyadCensus.as_dict
igraph.datatypes.DyadCensus.html#as_dict
Function
Method
PUBLIC
Converts the dyad census to a dict using the known dyad names.
-
igraph.datatypes.TriadCensus
igraph.datatypes.TriadCensus.html
Class
Class
PUBLIC
Triad census of a graph.
-
igraph.datatypes.TriadCensus._remap
igraph.datatypes.TriadCensus.html#_remap
Attribute
Class Variable
PRIVATE
Undocumented
-
igraph.datatypes.TriadCensus.__getitem__
igraph.datatypes.TriadCensus.html#__getitem__
Function
Method
PUBLIC
Undocumented
-
igraph.datatypes.TriadCensus.__getattr__
igraph.datatypes.TriadCensus.html#__getattr__
Function
Method
PUBLIC
Undocumented
-
igraph.datatypes.TriadCensus.__repr__
igraph.datatypes.TriadCensus.html#__repr__
Function
Method
PUBLIC
Undocumented
-
igraph.datatypes.TriadCensus.__str__
igraph.datatypes.TriadCensus.html#__str__
Function
Method
PUBLIC
Undocumented
-
igraph.datatypes.UniqueIdGenerator
igraph.datatypes.UniqueIdGenerator.html
Class
Class
PUBLIC
A dictionary-like class that can be used to assign unique IDs to names (say, vertex names).
-
igraph.datatypes.UniqueIdGenerator.__init__
igraph.datatypes.UniqueIdGenerator.html#__init__
Function
Method
PUBLIC
Creates a new unique ID generator. `id_generator` specifies how do we assign new IDs to elements that do not have an ID yet. If it is `None`, elements will be assigned integer identifiers starting from 0...
-
igraph.datatypes.UniqueIdGenerator._generator
igraph.datatypes.UniqueIdGenerator.html#_generator
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.datatypes.UniqueIdGenerator._ids
igraph.datatypes.UniqueIdGenerator.html#_ids
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.datatypes.UniqueIdGenerator.__contains__
igraph.datatypes.UniqueIdGenerator.html#__contains__
Function
Method
PUBLIC
Checks whether `item` already has an ID or not.
-
igraph.datatypes.UniqueIdGenerator.__getitem__
igraph.datatypes.UniqueIdGenerator.html#__getitem__
Function
Method
PUBLIC
Retrieves the ID corresponding to `item`. Generates a new ID for `item` if it is the first time we request an ID for it.
-
igraph.datatypes.UniqueIdGenerator.__setitem__
igraph.datatypes.UniqueIdGenerator.html#__setitem__
Function
Method
PUBLIC
Overrides the ID for `item`.
-
igraph.datatypes.UniqueIdGenerator.__len__
igraph.datatypes.UniqueIdGenerator.html#__len__
Function
Method
PUBLIC
"Returns the number of items
-
igraph.datatypes.UniqueIdGenerator.reverse_dict
igraph.datatypes.UniqueIdGenerator.html#reverse_dict
Function
Method
PUBLIC
Returns the reverse mapping, i.e., the one that maps from generated IDs to their corresponding objects
-
igraph.datatypes.UniqueIdGenerator.values
igraph.datatypes.UniqueIdGenerator.html#values
Function
Method
PUBLIC
Returns the values stored so far. If the generator generates items according to the standard sorting order, the values returned will be exactly in the order they were added. This holds for integer IDs for instance (but for many other ID generators as well).
-
igraph.utils._is_running_in_ipython
igraph.utils.html#_is_running_in_ipython
Function
Function
PRIVATE
Internal function that determines whether igraph is running inside IPython or not.
-
igraph.utils.named_temporary_file
igraph.utils.html#named_temporary_file
Function
Function
PUBLIC
Context manager that creates a named temporary file and returns its name.
-
igraph.utils.numpy_to_contiguous_memoryview
igraph.utils.html#numpy_to_contiguous_memoryview
Function
Function
PUBLIC
Converts a NumPy array or matrix into a contiguous memoryview object that is suitable to be forwarded to the Graph constructor.
-
igraph.utils.rescale
igraph.utils.html#rescale
Function
Function
PUBLIC
Rescales a list of numbers into a given range.
-
igraph.utils.str_to_orientation
igraph.utils.html#str_to_orientation
Function
Function
PUBLIC
Tries to interpret a string as an orientation value.
-
igraph.utils.consecutive_pairs
igraph.utils.html#consecutive_pairs
Function
Function
PUBLIC
Returns consecutive pairs of items from the given iterable.
-
igraph.utils.multidict
igraph.utils.multidict.html
Class
Class
PUBLIC
A dictionary-like object that is customized to deal with multiple values for the same key.
-
igraph.utils.multidict.__init__
igraph.utils.multidict.html#__init__
Function
Method
PUBLIC
Undocumented
-
igraph.utils.multidict._dict
igraph.utils.multidict.html#_dict
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.utils.multidict.__contains__
igraph.utils.multidict.html#__contains__
Function
Method
PUBLIC
Returns whether there are any items associated to the given key
.
-
igraph.utils.multidict.__delitem__
igraph.utils.multidict.html#__delitem__
Function
Method
PUBLIC
Removes all the items associated to the given key
.
-
igraph.utils.multidict.__getitem__
igraph.utils.multidict.html#__getitem__
Function
Method
PUBLIC
Returns an arbitrary item associated to the given key. Raises KeyError if no such key exists.
-
igraph.utils.multidict.__iter__
igraph.utils.multidict.html#__iter__
Function
Method
PUBLIC
Iterates over the keys of the multidict.
-
igraph.utils.multidict.__len__
igraph.utils.multidict.html#__len__
Function
Method
PUBLIC
Returns the number of distinct keys in this multidict.
-
igraph.utils.multidict.__setitem__
igraph.utils.multidict.html#__setitem__
Function
Method
PUBLIC
Sets the item associated to the given key
. Any values associated to the key will be erased and replaced by value
.
-
igraph.utils.multidict.add
igraph.utils.multidict.html#add
Function
Method
PUBLIC
Adds value
to the list of items associated to key
.
-
igraph.utils.multidict.clear
igraph.utils.multidict.html#clear
Function
Method
PUBLIC
Removes all the items from the multidict.
-
igraph.utils.multidict.get
igraph.utils.multidict.html#get
Function
Method
PUBLIC
Returns an arbitrary item associated to the given key
. If key
does not exist or has zero associated items, default
will be returned.
-
igraph.utils.multidict.getlist
igraph.utils.multidict.html#getlist
Function
Method
PUBLIC
Returns the list of values for the given key
. An empty list will be returned if there is no such key.
-
igraph.utils.multidict.iterlists
igraph.utils.multidict.html#iterlists
Function
Method
PUBLIC
Iterates over (key, values) pairs where values is the list of values associated with key.
-
igraph.utils.multidict.lists
igraph.utils.multidict.html#lists
Function
Method
PUBLIC
Returns a list of (key, values) pairs where values is the list of values associated with key.
-
igraph.utils.multidict.update
igraph.utils.multidict.html#update
Function
Method
PUBLIC
Undocumented
-
igraph.utils.safemax
igraph.utils.html#safemax
Function
Function
PUBLIC
Safer variant of max() that returns a default value if the iterable is empty.
-
igraph.utils.safemin
igraph.utils.html#safemin
Function
Function
PUBLIC
Safer variant of min() that returns a default value if the iterable is empty.
-
igraph.utils.dbl_epsilon
igraph.utils.html#dbl_epsilon
Function
Function
PUBLIC
Approximates the machine epsilon value for doubles.
-
igraph.drawing.colors.Palette
igraph.drawing.colors.Palette.html
Class
Class
PUBLIC
Base class of color palettes.
-
igraph.drawing.colors.Palette.__init__
igraph.drawing.colors.Palette.html#__init__
Function
Method
PUBLIC
Undocumented
-
igraph.drawing.colors.Palette._length
igraph.drawing.colors.Palette.html#_length
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.colors.Palette._cache
igraph.drawing.colors.Palette.html#_cache
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.colors.Palette.clear_cache
igraph.drawing.colors.Palette.html#clear_cache
Function
Method
PUBLIC
Clears the result cache.
-
igraph.drawing.colors.Palette.get
igraph.drawing.colors.Palette.html#get
Function
Method
PUBLIC
Returns the given color from the palette.
-
igraph.drawing.colors.Palette.get_many
igraph.drawing.colors.Palette.html#get_many
Function
Method
PUBLIC
Returns multiple colors from the palette.
-
igraph.drawing.colors.Palette._get
igraph.drawing.colors.Palette.html#_get
Function
Method
PRIVATE
Override this method in a subclass to create a custom palette.
-
igraph.drawing.colors.Palette.length
igraph.drawing.colors.Palette.html#length
Attribute
Property
PUBLIC
Returns the number of colors in this palette
-
igraph.drawing.colors.Palette.__len__
igraph.drawing.colors.Palette.html#__len__
Function
Method
PUBLIC
Returns the number of colors in this palette
-
igraph.drawing.colors.Palette.__plot__
igraph.drawing.colors.Palette.html#__plot__
Function
Method
PUBLIC
Plots the colors of the palette on the given Cairo context
-
igraph.drawing.colors.Palette.__repr__
igraph.drawing.colors.Palette.html#__repr__
Function
Method
PUBLIC
Undocumented
-
igraph.drawing.colors.GradientPalette
igraph.drawing.colors.GradientPalette.html
Class
Class
PUBLIC
Base class for gradient palettes
-
igraph.drawing.colors.GradientPalette.__init__
igraph.drawing.colors.GradientPalette.html#__init__
Function
Method
PUBLIC
Creates a gradient palette.
-
igraph.drawing.colors.GradientPalette._color1
igraph.drawing.colors.GradientPalette.html#_color1
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.colors.GradientPalette._color2
igraph.drawing.colors.GradientPalette.html#_color2
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.colors.GradientPalette._get
igraph.drawing.colors.GradientPalette.html#_get
Function
Method
PRIVATE
Returns the color corresponding to the given color index.
-
igraph.drawing.colors.AdvancedGradientPalette
igraph.drawing.colors.AdvancedGradientPalette.html
Class
Class
PUBLIC
Advanced gradient that consists of more than two base colors.
-
igraph.drawing.colors.AdvancedGradientPalette.__init__
igraph.drawing.colors.AdvancedGradientPalette.html#__init__
Function
Method
PUBLIC
Creates an advanced gradient palette
-
igraph.drawing.colors.AdvancedGradientPalette._indices
igraph.drawing.colors.AdvancedGradientPalette.html#_indices
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.colors.AdvancedGradientPalette._colors
igraph.drawing.colors.AdvancedGradientPalette.html#_colors
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.colors.AdvancedGradientPalette._dists
igraph.drawing.colors.AdvancedGradientPalette.html#_dists
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.colors.AdvancedGradientPalette._get
igraph.drawing.colors.AdvancedGradientPalette.html#_get
Function
Method
PRIVATE
Returns the color corresponding to the given color index.
-
igraph.drawing.colors.RainbowPalette
igraph.drawing.colors.RainbowPalette.html
Class
Class
PUBLIC
A palette that varies the hue of the colors along a scale.
-
igraph.drawing.colors.RainbowPalette.__init__
igraph.drawing.colors.RainbowPalette.html#__init__
Function
Method
PUBLIC
Creates a rainbow palette.
-
igraph.drawing.colors.RainbowPalette._s
igraph.drawing.colors.RainbowPalette.html#_s
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.colors.RainbowPalette._v
igraph.drawing.colors.RainbowPalette.html#_v
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.colors.RainbowPalette._alpha
igraph.drawing.colors.RainbowPalette.html#_alpha
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.colors.RainbowPalette._start
igraph.drawing.colors.RainbowPalette.html#_start
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.colors.RainbowPalette._dh
igraph.drawing.colors.RainbowPalette.html#_dh
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.colors.RainbowPalette._get
igraph.drawing.colors.RainbowPalette.html#_get
Function
Method
PRIVATE
Returns the color corresponding to the given color index.
-
igraph.drawing.colors.PrecalculatedPalette
igraph.drawing.colors.PrecalculatedPalette.html
Class
Class
PUBLIC
A palette that returns colors from a pre-calculated list of colors
-
igraph.drawing.colors.PrecalculatedPalette.__init__
igraph.drawing.colors.PrecalculatedPalette.html#__init__
Function
Method
PUBLIC
Creates the palette backed by the given list. The list must contain RGBA quadruplets or color names, which will be resolved first by
color_name_to_rgba()
. Anything that is understood by
color_name_to_rgba()
...
-
igraph.drawing.colors.PrecalculatedPalette._get
igraph.drawing.colors.PrecalculatedPalette.html#_get
Function
Method
PRIVATE
This method will only be called if the requested color index is outside the size of the palette. In that case, we throw an exception
-
igraph.drawing.colors.ClusterColoringPalette
igraph.drawing.colors.ClusterColoringPalette.html
Class
Class
PUBLIC
A palette suitable for coloring vertices when plotting a clustering.
-
igraph.drawing.colors.ClusterColoringPalette.__init__
igraph.drawing.colors.ClusterColoringPalette.html#__init__
Function
Method
PUBLIC
Creates the palette backed by the given list. The list must contain RGBA quadruplets or color names, which will be resolved first by
color_name_to_rgba()
. Anything that is understood by
color_name_to_rgba()
...
-
igraph.drawing.colors.clamp
igraph.drawing.colors.html#clamp
Function
Function
PUBLIC
Clamps the given value between min and max
-
igraph.drawing.colors.color_name_to_rgb
igraph.drawing.colors.html#color_name_to_rgb
Function
Function
PUBLIC
Converts a color given in one of the supported color formats to R-G-B values.
-
igraph.drawing.colors.color_name_to_rgba
igraph.drawing.colors.html#color_name_to_rgba
Function
Function
PUBLIC
Converts a color given in one of the supported color formats to R-G-B-A values.
-
igraph.drawing.colors.color_to_html_format
igraph.drawing.colors.html#color_to_html_format
Function
Function
PUBLIC
Formats a color given as a 3-tuple or 4-tuple in HTML format.
-
igraph.drawing.colors.darken
igraph.drawing.colors.html#darken
Function
Function
PUBLIC
Creates a darker version of a color given by an RGB triplet.
-
igraph.drawing.colors.hsla_to_rgba
igraph.drawing.colors.html#hsla_to_rgba
Function
Function
PUBLIC
Converts a color given by its HSLA coordinates (hue, saturation, lightness, alpha) to RGBA coordinates.
-
igraph.drawing.colors.hsl_to_rgb
igraph.drawing.colors.html#hsl_to_rgb
Function
Function
PUBLIC
Converts a color given by its HSL coordinates (hue, saturation, lightness) to RGB coordinates.
-
igraph.drawing.colors.hsva_to_rgba
igraph.drawing.colors.html#hsva_to_rgba
Function
Function
PUBLIC
Converts a color given by its HSVA coordinates (hue, saturation, value, alpha) to RGB coordinates.
-
igraph.drawing.colors.hsv_to_rgb
igraph.drawing.colors.html#hsv_to_rgb
Function
Function
PUBLIC
Converts a color given by its HSV coordinates (hue, saturation, value) to RGB coordinates.
-
igraph.drawing.colors.rgba_to_hsla
igraph.drawing.colors.html#rgba_to_hsla
Function
Function
PUBLIC
Converts a color given by its RGBA coordinates to HSLA coordinates (hue, saturation, lightness, alpha).
-
igraph.drawing.colors.rgba_to_hsva
igraph.drawing.colors.html#rgba_to_hsva
Function
Function
PUBLIC
Converts a color given by its RGBA coordinates to HSVA coordinates (hue, saturation, value, alpha).
-
igraph.drawing.colors.rgb_to_hsl
igraph.drawing.colors.html#rgb_to_hsl
Function
Function
PUBLIC
Converts a color given by its RGB coordinates to HSL coordinates (hue, saturation, lightness).
-
igraph.drawing.colors.rgb_to_hsv
igraph.drawing.colors.html#rgb_to_hsv
Function
Function
PUBLIC
Converts a color given by its RGB coordinates to HSV coordinates (hue, saturation, value).
-
igraph.drawing.colors.lighten
igraph.drawing.colors.html#lighten
Function
Function
PUBLIC
Creates a lighter version of a color given by an RGB triplet.
-
igraph.drawing.colors.known_colors
igraph.drawing.colors.html#known_colors
Attribute
Variable
PUBLIC
Undocumented
-
igraph.drawing.colors.palettes
igraph.drawing.colors.html#palettes
Attribute
Variable
PUBLIC
Undocumented
-
igraph.statistics.FittedPowerLaw
igraph.statistics.FittedPowerLaw.html
Class
Class
PUBLIC
Result of fitting a power-law to a vector of samples
-
igraph.statistics.FittedPowerLaw.__init__
igraph.statistics.FittedPowerLaw.html#__init__
Function
Method
PUBLIC
Undocumented
-
igraph.statistics.FittedPowerLaw.continuous
igraph.statistics.FittedPowerLaw.html#continuous
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.statistics.FittedPowerLaw.xmin
igraph.statistics.FittedPowerLaw.html#xmin
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.statistics.FittedPowerLaw.alpha
igraph.statistics.FittedPowerLaw.html#alpha
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.statistics.FittedPowerLaw.L
igraph.statistics.FittedPowerLaw.html#L
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.statistics.FittedPowerLaw.D
igraph.statistics.FittedPowerLaw.html#D
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.statistics.FittedPowerLaw.p
igraph.statistics.FittedPowerLaw.html#p
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.statistics.FittedPowerLaw.__repr__
igraph.statistics.FittedPowerLaw.html#__repr__
Function
Method
PUBLIC
Undocumented
-
igraph.statistics.FittedPowerLaw.__str__
igraph.statistics.FittedPowerLaw.html#__str__
Function
Method
PUBLIC
Undocumented
-
igraph.statistics.FittedPowerLaw.summary
igraph.statistics.FittedPowerLaw.html#summary
Function
Method
PUBLIC
Returns the summary of the power law fit.
-
igraph.statistics.Histogram
igraph.statistics.Histogram.html
Class
Class
PUBLIC
Generic histogram class for real numbers
-
igraph.statistics.Histogram.__init__
igraph.statistics.Histogram.html#__init__
Function
Method
PUBLIC
Initializes the histogram with the given data set.
-
igraph.statistics.Histogram._bin_width
igraph.statistics.Histogram.html#_bin_width
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.statistics.Histogram._bins
igraph.statistics.Histogram.html#_bins
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.statistics.Histogram._min
igraph.statistics.Histogram.html#_min
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.statistics.Histogram._max
igraph.statistics.Histogram.html#_max
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.statistics.Histogram._running_mean
igraph.statistics.Histogram.html#_running_mean
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.statistics.Histogram._get_bin
igraph.statistics.Histogram.html#_get_bin
Function
Method
PRIVATE
Returns the bin index corresponding to the given number.
-
igraph.statistics.Histogram.n
igraph.statistics.Histogram.html#n
Attribute
Property
PUBLIC
Returns the number of elements in the histogram
-
igraph.statistics.Histogram.mean
igraph.statistics.Histogram.html#mean
Attribute
Property
PUBLIC
Returns the mean of the elements in the histogram
-
igraph.statistics.Histogram.sd
igraph.statistics.Histogram.html#sd
Attribute
Property
PUBLIC
Returns the standard deviation of the elements in the histogram
-
igraph.statistics.Histogram.var
igraph.statistics.Histogram.html#var
Attribute
Property
PUBLIC
Returns the variance of the elements in the histogram
-
igraph.statistics.Histogram.add
igraph.statistics.Histogram.html#add
Function
Method
PUBLIC
Adds a single number to the histogram.
-
igraph.statistics.Histogram.add_many
igraph.statistics.Histogram.html#add_many
Function
Method
PUBLIC
Adds a single number or the elements of an iterable to the histogram.
-
igraph.statistics.Histogram.clear
igraph.statistics.Histogram.html#clear
Function
Method
PUBLIC
Clears the collected data
-
igraph.statistics.Histogram.bins
igraph.statistics.Histogram.html#bins
Function
Method
PUBLIC
Generator returning the bins of the histogram in increasing order
-
igraph.statistics.Histogram.__plot__
igraph.statistics.Histogram.html#__plot__
Function
Method
PUBLIC
Plotting support
-
igraph.statistics.Histogram.to_string
igraph.statistics.Histogram.html#to_string
Function
Method
PUBLIC
Returns the string representation of the histogram.
-
igraph.statistics.Histogram.__str__
igraph.statistics.Histogram.html#__str__
Function
Method
PUBLIC
Undocumented
-
igraph.statistics.RunningMean
igraph.statistics.RunningMean.html
Class
Class
PUBLIC
Running mean calculator.
-
igraph.statistics.RunningMean.__init__
igraph.statistics.RunningMean.html#__init__
Function
Method
PUBLIC
RunningMean(items=None, n=0.0, mean=0.0, sd=0.0)
-
igraph.statistics.RunningMean.add
igraph.statistics.RunningMean.html#add
Function
Method
PUBLIC
RunningMean.add(value, repeat=1)
-
igraph.statistics.RunningMean._sd
igraph.statistics.RunningMean.html#_sd
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.statistics.RunningMean.add_many
igraph.statistics.RunningMean.html#add_many
Function
Method
PUBLIC
RunningMean.add(values)
-
igraph.statistics.RunningMean.clear
igraph.statistics.RunningMean.html#clear
Function
Method
PUBLIC
Resets the running mean calculator.
-
igraph.statistics.RunningMean._nitems
igraph.statistics.RunningMean.html#_nitems
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.statistics.RunningMean._mean
igraph.statistics.RunningMean.html#_mean
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.statistics.RunningMean._sqdiff
igraph.statistics.RunningMean.html#_sqdiff
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.statistics.RunningMean.result
igraph.statistics.RunningMean.html#result
Attribute
Property
PUBLIC
Returns the current mean and standard deviation as a tuple
-
igraph.statistics.RunningMean.mean
igraph.statistics.RunningMean.html#mean
Attribute
Property
PUBLIC
Returns the current mean
-
igraph.statistics.RunningMean.sd
igraph.statistics.RunningMean.html#sd
Attribute
Property
PUBLIC
Returns the current standard deviation
-
igraph.statistics.RunningMean.var
igraph.statistics.RunningMean.html#var
Attribute
Property
PUBLIC
Returns the current variation
-
igraph.statistics.RunningMean.__repr__
igraph.statistics.RunningMean.html#__repr__
Function
Method
PUBLIC
Undocumented
-
igraph.statistics.RunningMean.__str__
igraph.statistics.RunningMean.html#__str__
Function
Method
PUBLIC
Undocumented
-
igraph.statistics.RunningMean.__float__
igraph.statistics.RunningMean.html#__float__
Function
Method
PUBLIC
Undocumented
-
igraph.statistics.RunningMean.__int__
igraph.statistics.RunningMean.html#__int__
Function
Method
PUBLIC
Undocumented
-
igraph.statistics.RunningMean.__complex__
igraph.statistics.RunningMean.html#__complex__
Function
Method
PUBLIC
Undocumented
-
igraph.statistics.RunningMean.__len__
igraph.statistics.RunningMean.html#__len__
Function
Method
PUBLIC
Undocumented
-
igraph.statistics.mean
igraph.statistics.html#mean
Function
Function
PUBLIC
Returns the mean of an iterable.
-
igraph.statistics.median
igraph.statistics.html#median
Function
Function
PUBLIC
Returns the median of an unsorted or sorted numeric vector.
-
igraph.statistics.percentile
igraph.statistics.html#percentile
Function
Function
PUBLIC
Returns the pth percentile of an unsorted or sorted numeric vector.
-
igraph.statistics.power_law_fit
igraph.statistics.html#power_law_fit
Function
Function
PUBLIC
Fitting a power-law distribution to empirical data
-
igraph.statistics.quantile
igraph.statistics.html#quantile
Function
Function
PUBLIC
Returns the qth quantile of an unsorted or sorted numeric vector.
-
igraph.statistics.sd
igraph.statistics.html#sd
Function
Function
PUBLIC
Returns the standard deviation of an iterable.
-
igraph.statistics.var
igraph.statistics.html#var
Function
Function
PUBLIC
Returns the variance of an iterable.
-
igraph.summary.FakeWrapper
igraph.summary.FakeWrapper.html
Class
Class
PUBLIC
Object whose interface is compatible with textwrap.TextWrapper but does no wrapping.
-
igraph.summary.FakeWrapper.__init__
igraph.summary.FakeWrapper.html#__init__
Function
Method
PUBLIC
Undocumented
-
igraph.summary.FakeWrapper.fill
igraph.summary.FakeWrapper.html#fill
Function
Method
PUBLIC
Undocumented
-
igraph.summary.FakeWrapper.wrap
igraph.summary.FakeWrapper.html#wrap
Function
Method
PUBLIC
Undocumented
-
igraph.summary._get_wrapper_for_width
igraph.summary.html#_get_wrapper_for_width
Function
Function
PRIVATE
Returns a text wrapper that wraps text for the given width.
-
igraph.summary.GraphSummary
igraph.summary.GraphSummary.html
Class
Class
PUBLIC
Summary representation of a graph.
-
igraph.summary.GraphSummary.__init__
igraph.summary.GraphSummary.html#__init__
Function
Method
PUBLIC
Constructs a summary representation of a graph.
-
igraph.summary.GraphSummary._graph
igraph.summary.GraphSummary.html#_graph
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.summary.GraphSummary.edge_list_format
igraph.summary.GraphSummary.html#edge_list_format
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.summary.GraphSummary.max_rows
igraph.summary.GraphSummary.html#max_rows
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.summary.GraphSummary.print_graph_attributes
igraph.summary.GraphSummary.html#print_graph_attributes
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.summary.GraphSummary.print_vertex_attributes
igraph.summary.GraphSummary.html#print_vertex_attributes
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.summary.GraphSummary.print_edge_attributes
igraph.summary.GraphSummary.html#print_edge_attributes
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.summary.GraphSummary.verbosity
igraph.summary.GraphSummary.html#verbosity
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.summary.GraphSummary.width
igraph.summary.GraphSummary.html#width
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.summary.GraphSummary.wrapper
igraph.summary.GraphSummary.html#wrapper
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.summary.GraphSummary._arrow
igraph.summary.GraphSummary.html#_arrow
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.summary.GraphSummary._arrow_format
igraph.summary.GraphSummary.html#_arrow_format
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.summary.GraphSummary._construct_edgelist_adjlist
igraph.summary.GraphSummary.html#_construct_edgelist_adjlist
Function
Method
PRIVATE
Constructs the part in the summary that prints the edge list in an adjacency list format.
-
igraph.summary.GraphSummary._construct_edgelist_compressed
igraph.summary.GraphSummary.html#_construct_edgelist_compressed
Function
Method
PRIVATE
Constructs the part in the summary that prints the edge list in a compressed format suitable for graphs with mostly small degrees.
-
igraph.summary.GraphSummary._construct_edgelist_edgelist
igraph.summary.GraphSummary.html#_construct_edgelist_edgelist
Function
Method
PRIVATE
Constructs the part in the summary that prints the edge list in a full edge list format.
-
igraph.summary.GraphSummary._construct_graph_attributes
igraph.summary.GraphSummary.html#_construct_graph_attributes
Function
Method
PRIVATE
Constructs the part in the summary that lists the graph attributes.
-
igraph.summary.GraphSummary._construct_vertex_attributes
igraph.summary.GraphSummary.html#_construct_vertex_attributes
Function
Method
PRIVATE
Constructs the part in the summary that lists the vertex attributes.
-
igraph.summary.GraphSummary._edge_attribute_iterator
igraph.summary.GraphSummary.html#_edge_attribute_iterator
Function
Method
PRIVATE
Returns an iterator that yields the rows of the edge attribute table in the summary. `attribute_order` must be a list containing the names of the attributes to be presented in this table.
-
igraph.summary.GraphSummary._infer_column_alignment
igraph.summary.GraphSummary.html#_infer_column_alignment
Function
Method
PRIVATE
Infers the preferred alignment for the given vertex and edge attributes in the tables by peeking into the attribute values of the first 100 vertices or edges. Numeric attributes will be aligned right, everything else will be aligned left.
-
igraph.summary.GraphSummary._new_table
igraph.summary.GraphSummary.html#_new_table
Function
Method
PRIVATE
Constructs a new table to pretty-print vertex and edge attributes
-
igraph.summary.GraphSummary._vertex_attribute_iterator
igraph.summary.GraphSummary.html#_vertex_attribute_iterator
Function
Method
PRIVATE
Returns an iterator that yields the rows of the vertex attribute table in the summary. `attribute_order` must be a list containing the names of the attributes to be presented in this table.
-
igraph.summary.GraphSummary.__str__
igraph.summary.GraphSummary.html#__str__
Function
Method
PUBLIC
Returns the summary representation as a string.
-
igraph.summary.summary
igraph.summary.html#summary
Function
Function
PUBLIC
Prints a summary of object o to a given stream
-
igraph.clustering.Clustering
igraph.clustering.Clustering.html
Class
Class
PUBLIC
Class representing a clustering of an arbitrary ordered set.
-
igraph.clustering.Clustering.__init__
igraph.clustering.Clustering.html#__init__
Function
Method
PUBLIC
Constructor.
-
igraph.clustering.Clustering._membership
igraph.clustering.Clustering.html#_membership
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.Clustering._len
igraph.clustering.Clustering.html#_len
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.Clustering.__getitem__
igraph.clustering.Clustering.html#__getitem__
Function
Method
PUBLIC
Returns the members of the specified cluster.
-
igraph.clustering.Clustering.__iter__
igraph.clustering.Clustering.html#__iter__
Function
Method
PUBLIC
Iterates over the clusters in this clustering.
-
igraph.clustering.Clustering.__len__
igraph.clustering.Clustering.html#__len__
Function
Method
PUBLIC
Returns the number of clusters.
-
igraph.clustering.Clustering.__str__
igraph.clustering.Clustering.html#__str__
Function
Method
PUBLIC
Undocumented
-
igraph.clustering.Clustering.as_cover
igraph.clustering.Clustering.html#as_cover
Function
Method
PUBLIC
Returns a
Cover
that contains the same clusters as this clustering.
-
igraph.clustering.Clustering.compare_to
igraph.clustering.Clustering.html#compare_to
Function
Method
PUBLIC
Compares this clustering to another one using some similarity or distance metric.
-
igraph.clustering.Clustering.membership
igraph.clustering.Clustering.html#membership
Attribute
Property
PUBLIC
Returns the membership vector.
-
igraph.clustering.Clustering.n
igraph.clustering.Clustering.html#n
Attribute
Property
PUBLIC
Returns the number of elements covered by this clustering.
-
igraph.clustering.Clustering.size
igraph.clustering.Clustering.html#size
Function
Method
PUBLIC
Returns the size of a given cluster.
-
igraph.clustering.Clustering.sizes
igraph.clustering.Clustering.html#sizes
Function
Method
PUBLIC
Returns the size of given clusters.
-
igraph.clustering.Clustering.size_histogram
igraph.clustering.Clustering.html#size_histogram
Function
Method
PUBLIC
Returns the histogram of cluster sizes.
-
igraph.clustering.Clustering.summary
igraph.clustering.Clustering.html#summary
Function
Method
PUBLIC
Returns the summary of the clustering.
-
igraph.clustering.Clustering._formatted_cluster_iterator
igraph.clustering.Clustering.html#_formatted_cluster_iterator
Function
Method
PRIVATE
Iterates over the clusters and formats them into a string to be presented in the summary.
-
igraph.clustering.VertexClustering
igraph.clustering.VertexClustering.html
Class
Class
PUBLIC
The clustering of the vertex set of a graph.
-
igraph.clustering.VertexClustering._default_palette
igraph.clustering.VertexClustering.html#_default_palette
Attribute
Class Variable
PRIVATE
Undocumented
-
igraph.clustering.VertexClustering.__init__
igraph.clustering.VertexClustering.html#__init__
Function
Method
PUBLIC
Creates a clustering object for a given graph.
-
igraph.clustering.VertexClustering._graph
igraph.clustering.VertexClustering.html#_graph
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.VertexClustering._modularity
igraph.clustering.VertexClustering.html#_modularity
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.VertexClustering._modularity_dirty
igraph.clustering.VertexClustering.html#_modularity_dirty
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.VertexClustering._modularity_params
igraph.clustering.VertexClustering.html#_modularity_params
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.VertexClustering.FromAttribute
igraph.clustering.VertexClustering.html#FromAttribute
Function
Class Method
PUBLIC
Creates a vertex clustering based on the value of a vertex attribute.
-
igraph.clustering.VertexClustering.as_cover
igraph.clustering.VertexClustering.html#as_cover
Function
Method
PUBLIC
Returns a
VertexCover
that contains the same clusters as this clustering.
-
igraph.clustering.VertexClustering.cluster_graph
igraph.clustering.VertexClustering.html#cluster_graph
Function
Method
PUBLIC
Returns a graph where each cluster is contracted into a single vertex.
-
igraph.clustering.VertexClustering.crossing
igraph.clustering.VertexClustering.html#crossing
Function
Method
PUBLIC
Returns a boolean vector where element i is True iff edge i lies between clusters, False otherwise.
-
igraph.clustering.VertexClustering.modularity
igraph.clustering.VertexClustering.html#modularity
Attribute
Property
PUBLIC
Returns the modularity score
-
igraph.clustering.VertexClustering.graph
igraph.clustering.VertexClustering.html#graph
Attribute
Property
PUBLIC
Returns the graph belonging to this object
-
igraph.clustering.VertexClustering.recalculate_modularity
igraph.clustering.VertexClustering.html#recalculate_modularity
Function
Method
PUBLIC
Recalculates the stored modularity value.
-
igraph.clustering.VertexClustering._recalculate_modularity_safe
igraph.clustering.VertexClustering.html#_recalculate_modularity_safe
Function
Method
PRIVATE
Recalculates the stored modularity value and swallows all exceptions raised by the modularity function (if any).
-
igraph.clustering.VertexClustering.subgraph
igraph.clustering.VertexClustering.html#subgraph
Function
Method
PUBLIC
Get the subgraph belonging to a given cluster.
-
igraph.clustering.VertexClustering.subgraphs
igraph.clustering.VertexClustering.html#subgraphs
Function
Method
PUBLIC
Gets all the subgraphs belonging to each of the clusters.
-
igraph.clustering.VertexClustering.giant
igraph.clustering.VertexClustering.html#giant
Function
Method
PUBLIC
Returns the largest cluster of the clustered graph.
-
igraph.clustering.VertexClustering.__plot__
igraph.clustering.VertexClustering.html#__plot__
Function
Method
PUBLIC
Plots the clustering to the given Cairo context in the given bounding box.
-
igraph.clustering.VertexClustering._formatted_cluster_iterator
igraph.clustering.VertexClustering.html#_formatted_cluster_iterator
Function
Method
PRIVATE
Iterates over the clusters and formats them into a string to be presented in the summary.
-
igraph.clustering.Dendrogram
igraph.clustering.Dendrogram.html
Class
Class
PUBLIC
The hierarchical clustering (dendrogram) of some dataset.
-
igraph.clustering.Dendrogram.__init__
igraph.clustering.Dendrogram.html#__init__
Function
Method
PUBLIC
Creates a hierarchical clustering.
-
igraph.clustering.Dendrogram._merges
igraph.clustering.Dendrogram.html#_merges
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.Dendrogram._nmerges
igraph.clustering.Dendrogram.html#_nmerges
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.Dendrogram._nitems
igraph.clustering.Dendrogram.html#_nitems
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.Dendrogram._names
igraph.clustering.Dendrogram.html#_names
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.Dendrogram._convert_matrix_to_tuple_repr
igraph.clustering.Dendrogram.html#_convert_matrix_to_tuple_repr
Function
Static Method
PRIVATE
Converts the matrix representation of a clustering to a tuple representation.
-
igraph.clustering.Dendrogram._traverse_inorder
igraph.clustering.Dendrogram.html#_traverse_inorder
Function
Method
PRIVATE
Conducts an inorder traversal of the merge tree.
-
igraph.clustering.Dendrogram.__str__
igraph.clustering.Dendrogram.html#__str__
Function
Method
PUBLIC
Undocumented
-
igraph.clustering.Dendrogram.format
igraph.clustering.Dendrogram.html#format
Function
Method
PUBLIC
Formats the dendrogram in a foreign format.
-
igraph.clustering.Dendrogram.summary
igraph.clustering.Dendrogram.html#summary
Function
Method
PUBLIC
Returns the summary of the dendrogram.
-
igraph.clustering.Dendrogram._item_box_size
igraph.clustering.Dendrogram.html#_item_box_size
Function
Method
PRIVATE
Calculates the amount of space needed for drawing an individual vertex at the bottom of the dendrogram.
-
igraph.clustering.Dendrogram._plot_item
igraph.clustering.Dendrogram.html#_plot_item
Function
Method
PRIVATE
Plots a dendrogram item to the given Cairo context
-
igraph.clustering.Dendrogram.__plot__
igraph.clustering.Dendrogram.html#__plot__
Function
Method
PUBLIC
Draws the dendrogram on the given Cairo context
-
igraph.clustering.Dendrogram.merges
igraph.clustering.Dendrogram.html#merges
Attribute
Property
PUBLIC
Returns the performed merges in matrix format
-
igraph.clustering.Dendrogram.names
igraph.clustering.Dendrogram.html#names
Attribute
Property
PUBLIC
Returns the names of the nodes in the dendrogram
-
igraph.clustering.Dendrogram.names.setter
igraph.clustering.Dendrogram.html#names.setter
Function
Method
PUBLIC
Sets the names of the nodes in the dendrogram
-
igraph.clustering.VertexDendrogram
igraph.clustering.VertexDendrogram.html
Class
Class
PUBLIC
The dendrogram resulting from the hierarchical clustering of the vertex set of a graph.
-
igraph.clustering.VertexDendrogram.__init__
igraph.clustering.VertexDendrogram.html#__init__
Function
Method
PUBLIC
Creates a dendrogram object for a given graph.
-
igraph.clustering.VertexDendrogram._graph
igraph.clustering.VertexDendrogram.html#_graph
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.VertexDendrogram._optimal_count
igraph.clustering.VertexDendrogram.html#_optimal_count
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.VertexDendrogram._modularity_params
igraph.clustering.VertexDendrogram.html#_modularity_params
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.VertexDendrogram.as_clustering
igraph.clustering.VertexDendrogram.html#as_clustering
Function
Method
PUBLIC
Cuts the dendrogram at the given level and returns a corresponding
VertexClustering
object.
-
igraph.clustering.VertexDendrogram.optimal_count
igraph.clustering.VertexDendrogram.html#optimal_count
Attribute
Property
PUBLIC
Returns the optimal number of clusters for this dendrogram.
-
igraph.clustering.VertexDendrogram.optimal_count.setter
igraph.clustering.VertexDendrogram.html#optimal_count.setter
Function
Method
PUBLIC
Undocumented
-
igraph.clustering.VertexDendrogram.__plot__
igraph.clustering.VertexDendrogram.html#__plot__
Function
Method
PUBLIC
Draws the vertex dendrogram on the given Cairo context
-
igraph.clustering.VertexDendrogram._names
igraph.clustering.VertexDendrogram.html#_names
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.Cover
igraph.clustering.Cover.html
Class
Class
PUBLIC
Class representing a cover of an arbitrary ordered set.
-
igraph.clustering.Cover.__init__
igraph.clustering.Cover.html#__init__
Function
Method
PUBLIC
Constructs a cover with the given clusters.
-
igraph.clustering.Cover._clusters
igraph.clustering.Cover.html#_clusters
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.Cover._n
igraph.clustering.Cover.html#_n
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.Cover.__getitem__
igraph.clustering.Cover.html#__getitem__
Function
Method
PUBLIC
Returns the cluster with the given index.
-
igraph.clustering.Cover.__iter__
igraph.clustering.Cover.html#__iter__
Function
Method
PUBLIC
Iterates over the clusters in this cover.
-
igraph.clustering.Cover.__len__
igraph.clustering.Cover.html#__len__
Function
Method
PUBLIC
Returns the number of clusters in this cover.
-
igraph.clustering.Cover.__str__
igraph.clustering.Cover.html#__str__
Function
Method
PUBLIC
Returns a string representation of the cover.
-
igraph.clustering.Cover.membership
igraph.clustering.Cover.html#membership
Attribute
Property
PUBLIC
Returns the membership vector of this cover.
-
igraph.clustering.Cover.n
igraph.clustering.Cover.html#n
Attribute
Property
PUBLIC
Returns the number of elements in the set covered by this cover.
-
igraph.clustering.Cover.size
igraph.clustering.Cover.html#size
Function
Method
PUBLIC
Returns the size of a given cluster.
-
igraph.clustering.Cover.sizes
igraph.clustering.Cover.html#sizes
Function
Method
PUBLIC
Returns the size of given clusters.
-
igraph.clustering.Cover.size_histogram
igraph.clustering.Cover.html#size_histogram
Function
Method
PUBLIC
Returns the histogram of cluster sizes.
-
igraph.clustering.Cover.summary
igraph.clustering.Cover.html#summary
Function
Method
PUBLIC
Returns the summary of the cover.
-
igraph.clustering.Cover._formatted_cluster_iterator
igraph.clustering.Cover.html#_formatted_cluster_iterator
Function
Method
PRIVATE
Iterates over the clusters and formats them into a string to be presented in the summary.
-
igraph.clustering.VertexCover
igraph.clustering.VertexCover.html
Class
Class
PUBLIC
The cover of the vertex set of a graph.
-
igraph.clustering.VertexCover.__init__
igraph.clustering.VertexCover.html#__init__
Function
Method
PUBLIC
Creates a cover object for a given graph.
-
igraph.clustering.VertexCover._graph
igraph.clustering.VertexCover.html#_graph
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.VertexCover.crossing
igraph.clustering.VertexCover.html#crossing
Function
Method
PUBLIC
Returns a boolean vector where element i is True iff edge i lies between clusters, False otherwise.
-
igraph.clustering.VertexCover.graph
igraph.clustering.VertexCover.html#graph
Attribute
Property
PUBLIC
Returns the graph belonging to this object
-
igraph.clustering.VertexCover.subgraph
igraph.clustering.VertexCover.html#subgraph
Function
Method
PUBLIC
Get the subgraph belonging to a given cluster.
-
igraph.clustering.VertexCover.subgraphs
igraph.clustering.VertexCover.html#subgraphs
Function
Method
PUBLIC
Gets all the subgraphs belonging to each of the clusters.
-
igraph.clustering.VertexCover.__plot__
igraph.clustering.VertexCover.html#__plot__
Function
Method
PUBLIC
Plots the cover to the given Cairo context in the given bounding box.
-
igraph.clustering.VertexCover._formatted_cluster_iterator
igraph.clustering.VertexCover.html#_formatted_cluster_iterator
Function
Method
PRIVATE
Iterates over the clusters and formats them into a string to be presented in the summary.
-
igraph.clustering.CohesiveBlocks
igraph.clustering.CohesiveBlocks.html
Class
Class
PUBLIC
The cohesive block structure of a graph.
-
igraph.clustering.CohesiveBlocks.__init__
igraph.clustering.CohesiveBlocks.html#__init__
Function
Method
PUBLIC
Constructs a new cohesive block structure for the given graph.
-
igraph.clustering.CohesiveBlocks._cohesion
igraph.clustering.CohesiveBlocks.html#_cohesion
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.CohesiveBlocks._parent
igraph.clustering.CohesiveBlocks.html#_parent
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.clustering.CohesiveBlocks.cohesion
igraph.clustering.CohesiveBlocks.html#cohesion
Function
Method
PUBLIC
Returns the cohesion of the group with the given index.
-
igraph.clustering.CohesiveBlocks.cohesions
igraph.clustering.CohesiveBlocks.html#cohesions
Function
Method
PUBLIC
Returns the list of cohesion values for each group.
-
igraph.clustering.CohesiveBlocks.hierarchy
igraph.clustering.CohesiveBlocks.html#hierarchy
Function
Method
PUBLIC
Returns a new graph that describes the hierarchical relationships between the groups.
-
igraph.clustering.CohesiveBlocks.max_cohesion
igraph.clustering.CohesiveBlocks.html#max_cohesion
Function
Method
PUBLIC
Finds the maximum cohesion score among all the groups that contain the given vertex.
-
igraph.clustering.CohesiveBlocks.max_cohesions
igraph.clustering.CohesiveBlocks.html#max_cohesions
Function
Method
PUBLIC
For each vertex in the graph, returns the maximum cohesion score among all the groups that contain the vertex.
-
igraph.clustering.CohesiveBlocks.parent
igraph.clustering.CohesiveBlocks.html#parent
Function
Method
PUBLIC
Returns the parent group index of the group with the given index or None if the given group is the root.
-
igraph.clustering.CohesiveBlocks.parents
igraph.clustering.CohesiveBlocks.html#parents
Function
Method
PUBLIC
Returns the list of parent group indices for each group or None if the given group is the root.
-
igraph.clustering.CohesiveBlocks.__plot__
igraph.clustering.CohesiveBlocks.html#__plot__
Function
Method
PUBLIC
Plots the cohesive block structure to the given Cairo context in the given bounding box.
-
igraph.clustering._handle_mark_groups_arg_for_clustering
igraph.clustering.html#_handle_mark_groups_arg_for_clustering
Function
Function
PRIVATE
Handles the mark_groups=... keyword argument in plotting methods of clusterings.
-
igraph.clustering.compare_communities
igraph.clustering.html#compare_communities
Function
Function
PUBLIC
Compares two community structures using various distance measures.
-
igraph.clustering.split_join_distance
igraph.clustering.html#split_join_distance
Function
Function
PUBLIC
Calculates the split-join distance between two community structures.
-
igraph.cut.Cut
igraph.cut.Cut.html
Class
Class
PUBLIC
A cut of a given graph.
-
igraph.cut.Cut.__init__
igraph.cut.Cut.html#__init__
Function
Method
PUBLIC
Initializes the cut.
-
igraph.cut.Cut._value
igraph.cut.Cut.html#_value
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.cut.Cut._partition
igraph.cut.Cut.html#_partition
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.cut.Cut._cut
igraph.cut.Cut.html#_cut
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.cut.Cut.__repr__
igraph.cut.Cut.html#__repr__
Function
Method
PUBLIC
Undocumented
-
igraph.cut.Cut.__str__
igraph.cut.Cut.html#__str__
Function
Method
PUBLIC
Undocumented
-
igraph.cut.Cut.es
igraph.cut.Cut.html#es
Attribute
Property
PUBLIC
Returns an edge selector restricted to the cut
-
igraph.cut.Cut.partition
igraph.cut.Cut.html#partition
Attribute
Property
PUBLIC
Returns the vertex IDs partitioned according to the cut
-
igraph.cut.Cut.cut
igraph.cut.Cut.html#cut
Attribute
Property
PUBLIC
Returns the edge IDs in the cut
-
igraph.cut.Cut.value
igraph.cut.Cut.html#value
Attribute
Property
PUBLIC
Returns the sum of edge capacities in the cut
-
igraph.cut.Flow
igraph.cut.Flow.html
Class
Class
PUBLIC
A flow of a given graph.
-
igraph.cut.Flow.__init__
igraph.cut.Flow.html#__init__
Function
Method
PUBLIC
Initializes the flow.
-
igraph.cut.Flow._flow
igraph.cut.Flow.html#_flow
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.cut.Flow.__repr__
igraph.cut.Flow.html#__repr__
Function
Method
PUBLIC
Undocumented
-
igraph.cut.Flow.__str__
igraph.cut.Flow.html#__str__
Function
Method
PUBLIC
Undocumented
-
igraph.cut.Flow.flow
igraph.cut.Flow.html#flow
Attribute
Property
PUBLIC
Returns the flow values for each edge.
-
igraph.drawing.utils.Rectangle
igraph.drawing.utils.Rectangle.html
Class
Class
PUBLIC
Class representing a rectangle.
-
igraph.drawing.utils.Rectangle.__slots__
igraph.drawing.utils.Rectangle.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
igraph.drawing.utils.Rectangle.__init__
igraph.drawing.utils.Rectangle.html#__init__
Function
Method
PUBLIC
Creates a rectangle.
-
igraph.drawing.utils.Rectangle.coords 0
igraph.drawing.utils.Rectangle.html#coords%200
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.drawing.utils.Rectangle.coords
igraph.drawing.utils.Rectangle.html#coords
Attribute
Property
PUBLIC
The coordinates of the corners.
-
igraph.drawing.utils.Rectangle.coords.setter
igraph.drawing.utils.Rectangle.html#coords.setter
Function
Method
PUBLIC
Sets the coordinates of the corners.
-
igraph.drawing.utils.Rectangle._left
igraph.drawing.utils.Rectangle.html#_left
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.utils.Rectangle._top
igraph.drawing.utils.Rectangle.html#_top
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.utils.Rectangle._right
igraph.drawing.utils.Rectangle.html#_right
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.utils.Rectangle._bottom
igraph.drawing.utils.Rectangle.html#_bottom
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.utils.Rectangle.width
igraph.drawing.utils.Rectangle.html#width
Attribute
Instance Variable
PUBLIC
The width of the rectangle
-
igraph.drawing.utils.Rectangle.width.setter
igraph.drawing.utils.Rectangle.html#width.setter
Function
Method
PUBLIC
Sets the width of the rectangle by adjusting the right edge.
-
igraph.drawing.utils.Rectangle.height
igraph.drawing.utils.Rectangle.html#height
Attribute
Instance Variable
PUBLIC
The height of the rectangle
-
igraph.drawing.utils.Rectangle.height.setter
igraph.drawing.utils.Rectangle.html#height.setter
Function
Method
PUBLIC
Sets the height of the rectangle by adjusting the bottom edge.
-
igraph.drawing.utils.Rectangle.left
igraph.drawing.utils.Rectangle.html#left
Attribute
Property
PUBLIC
The X coordinate of the left side of the box
-
igraph.drawing.utils.Rectangle.left.setter
igraph.drawing.utils.Rectangle.html#left.setter
Function
Method
PUBLIC
Sets the X coordinate of the left side of the box
-
igraph.drawing.utils.Rectangle.right
igraph.drawing.utils.Rectangle.html#right
Attribute
Property
PUBLIC
The X coordinate of the right side of the box
-
igraph.drawing.utils.Rectangle.right.setter
igraph.drawing.utils.Rectangle.html#right.setter
Function
Method
PUBLIC
Sets the X coordinate of the right side of the box
-
igraph.drawing.utils.Rectangle.top
igraph.drawing.utils.Rectangle.html#top
Attribute
Property
PUBLIC
The Y coordinate of the top edge of the box
-
igraph.drawing.utils.Rectangle.top.setter
igraph.drawing.utils.Rectangle.html#top.setter
Function
Method
PUBLIC
Sets the Y coordinate of the top edge of the box
-
igraph.drawing.utils.Rectangle.bottom
igraph.drawing.utils.Rectangle.html#bottom
Attribute
Property
PUBLIC
The Y coordinate of the bottom edge of the box
-
igraph.drawing.utils.Rectangle.bottom.setter
igraph.drawing.utils.Rectangle.html#bottom.setter
Function
Method
PUBLIC
Sets the Y coordinate of the bottom edge of the box
-
igraph.drawing.utils.Rectangle.midx
igraph.drawing.utils.Rectangle.html#midx
Attribute
Property
PUBLIC
The X coordinate of the center of the box
-
igraph.drawing.utils.Rectangle.midx.setter
igraph.drawing.utils.Rectangle.html#midx.setter
Function
Method
PUBLIC
Moves the center of the box to the given X coordinate
-
igraph.drawing.utils.Rectangle.midy
igraph.drawing.utils.Rectangle.html#midy
Attribute
Property
PUBLIC
The Y coordinate of the center of the box
-
igraph.drawing.utils.Rectangle.midy.setter
igraph.drawing.utils.Rectangle.html#midy.setter
Function
Method
PUBLIC
Moves the center of the box to the given Y coordinate
-
igraph.drawing.utils.Rectangle.shape
igraph.drawing.utils.Rectangle.html#shape
Attribute
Property
PUBLIC
The shape of the rectangle (width, height)
-
igraph.drawing.utils.Rectangle.shape.setter
igraph.drawing.utils.Rectangle.html#shape.setter
Function
Method
PUBLIC
Sets the shape of the rectangle (width, height).
-
igraph.drawing.utils.Rectangle.contract
igraph.drawing.utils.Rectangle.html#contract
Function
Method
PUBLIC
Contracts the rectangle by the given margins.
-
igraph.drawing.utils.Rectangle.expand
igraph.drawing.utils.Rectangle.html#expand
Function
Method
PUBLIC
Expands the rectangle by the given margins.
-
igraph.drawing.utils.Rectangle.isdisjoint
igraph.drawing.utils.Rectangle.html#isdisjoint
Function
Method
PUBLIC
Returns ``True`` if the two rectangles have no intersection.
-
igraph.drawing.utils.Rectangle.isempty
igraph.drawing.utils.Rectangle.html#isempty
Function
Method
PUBLIC
Returns ``True`` if the rectangle is empty (i.e. it has zero width and height).
-
igraph.drawing.utils.Rectangle.intersection
igraph.drawing.utils.Rectangle.html#intersection
Function
Method
PUBLIC
Returns the intersection of this rectangle with another.
-
igraph.drawing.utils.Rectangle.translate
igraph.drawing.utils.Rectangle.html#translate
Function
Method
PUBLIC
Translates the rectangle in-place.
-
igraph.drawing.utils.Rectangle.union
igraph.drawing.utils.Rectangle.html#union
Function
Method
PUBLIC
Returns the union of this rectangle with another.
-
igraph.drawing.utils.Rectangle.__ior__
igraph.drawing.utils.Rectangle.html#__ior__
Function
Method
PUBLIC
Expands this rectangle to include itself and another completely while still being as small as possible.
-
igraph.drawing.utils.Rectangle.__repr__
igraph.drawing.utils.Rectangle.html#__repr__
Function
Method
PUBLIC
Undocumented
-
igraph.drawing.utils.Rectangle.__eq__
igraph.drawing.utils.Rectangle.html#__eq__
Function
Method
PUBLIC
Undocumented
-
igraph.drawing.utils.Rectangle.__ne__
igraph.drawing.utils.Rectangle.html#__ne__
Function
Method
PUBLIC
Undocumented
-
igraph.drawing.utils.Rectangle.__bool__
igraph.drawing.utils.Rectangle.html#__bool__
Function
Method
PUBLIC
Undocumented
-
igraph.drawing.utils.Rectangle.__hash__
igraph.drawing.utils.Rectangle.html#__hash__
Function
Method
PUBLIC
Undocumented
-
igraph.drawing.utils.BoundingBox
igraph.drawing.utils.BoundingBox.html
Class
Class
PUBLIC
Class representing a bounding box (a rectangular area) that encloses some objects.
-
igraph.drawing.utils.BoundingBox.__ior__
igraph.drawing.utils.BoundingBox.html#__ior__
Function
Method
PUBLIC
Replaces this bounding box with the union of itself and another.
-
igraph.drawing.utils.BoundingBox._left
igraph.drawing.utils.BoundingBox.html#_left
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.utils.BoundingBox._top
igraph.drawing.utils.BoundingBox.html#_top
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.utils.BoundingBox._right
igraph.drawing.utils.BoundingBox.html#_right
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.utils.BoundingBox._bottom
igraph.drawing.utils.BoundingBox.html#_bottom
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.utils.BoundingBox.__or__
igraph.drawing.utils.BoundingBox.html#__or__
Function
Method
PUBLIC
Takes the union of this bounding box with another.
-
igraph.drawing.utils.FakeModule
igraph.drawing.utils.FakeModule.html
Class
Class
PUBLIC
Fake module that raises an exception for everything
-
igraph.drawing.utils.FakeModule.__init__
igraph.drawing.utils.FakeModule.html#__init__
Function
Method
PUBLIC
Constructor.
-
igraph.drawing.utils.FakeModule._message
igraph.drawing.utils.FakeModule.html#_message
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.utils.FakeModule.__getattr__
igraph.drawing.utils.FakeModule.html#__getattr__
Function
Method
PUBLIC
Undocumented
-
igraph.drawing.utils.FakeModule.__call__
igraph.drawing.utils.FakeModule.html#__call__
Function
Method
PUBLIC
Undocumented
-
igraph.drawing.utils.FakeModule.__setattr__
igraph.drawing.utils.FakeModule.html#__setattr__
Function
Method
PUBLIC
Undocumented
-
igraph.drawing.utils.find_cairo
igraph.drawing.utils.html#find_cairo
Function
Function
PUBLIC
Tries to import the ``cairo`` Python module if it is installed, also trying ``cairocffi`` (a drop-in replacement of ``cairo``). Returns a fake module if everything fails.
-
igraph.drawing.utils.find_matplotlib
igraph.drawing.utils.html#find_matplotlib
Function
Function
PUBLIC
Tries to import the ``matplotlib`` Python module if it is installed. Returns a fake module if everything fails.
-
igraph.drawing.utils.Point
igraph.drawing.utils.Point.html
Class
Class
PUBLIC
Class representing a point on the 2D plane.
-
igraph.drawing.utils.Point.__slots__
igraph.drawing.utils.Point.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
igraph.drawing.utils.Point._fields
igraph.drawing.utils.Point.html#_fields
Attribute
Class Variable
PRIVATE
Undocumented
-
igraph.drawing.utils.Point.__new__
igraph.drawing.utils.Point.html#__new__
Function
Method
PUBLIC
Creates a new point with the given coordinates
-
igraph.drawing.utils.Point._make
igraph.drawing.utils.Point.html#_make
Function
Class Method
PRIVATE
Creates a new point from a sequence or iterable
-
igraph.drawing.utils.Point.__repr__
igraph.drawing.utils.Point.html#__repr__
Function
Method
PUBLIC
Returns a nicely formatted representation of the point
-
igraph.drawing.utils.Point._asdict
igraph.drawing.utils.Point.html#_asdict
Function
Method
PRIVATE
Returns a new dict which maps field names to their values
-
igraph.drawing.utils.Point._replace
igraph.drawing.utils.Point.html#_replace
Function
Method
PRIVATE
Returns a new point object replacing specified fields with new values
-
igraph.drawing.utils.Point.__getnewargs__
igraph.drawing.utils.Point.html#__getnewargs__
Function
Method
PUBLIC
Return self as a plain tuple. Used by copy and pickle.
-
igraph.drawing.utils.Point.x
igraph.drawing.utils.Point.html#x
Attribute
Class Variable
PUBLIC
Undocumented
-
igraph.drawing.utils.Point.y
igraph.drawing.utils.Point.html#y
Attribute
Class Variable
PUBLIC
Undocumented
-
igraph.drawing.utils.Point.__add__
igraph.drawing.utils.Point.html#__add__
Function
Method
PUBLIC
Adds the coordinates of a point to another one
-
igraph.drawing.utils.Point.__sub__
igraph.drawing.utils.Point.html#__sub__
Function
Method
PUBLIC
Subtracts the coordinates of a point to another one
-
igraph.drawing.utils.Point.__mul__
igraph.drawing.utils.Point.html#__mul__
Function
Method
PUBLIC
Multiplies the coordinates by a scalar
-
igraph.drawing.utils.Point.__div__
igraph.drawing.utils.Point.html#__div__
Function
Method
PUBLIC
Divides the coordinates by a scalar
-
igraph.drawing.utils.Point.as_polar
igraph.drawing.utils.Point.html#as_polar
Function
Method
PUBLIC
Returns the polar coordinate representation of the point.
-
igraph.drawing.utils.Point.distance
igraph.drawing.utils.Point.html#distance
Function
Method
PUBLIC
Returns the distance of the point from another one.
-
igraph.drawing.utils.Point.interpolate
igraph.drawing.utils.Point.html#interpolate
Function
Method
PUBLIC
Linearly interpolates between the coordinates of this point and another one.
-
igraph.drawing.utils.Point.length
igraph.drawing.utils.Point.html#length
Function
Method
PUBLIC
Returns the length of the vector pointing from the origin to this point.
-
igraph.drawing.utils.Point.normalized
igraph.drawing.utils.Point.html#normalized
Function
Method
PUBLIC
Normalizes the coordinates of the point s.t. its length will be 1 after normalization. Returns the normalized point.
-
igraph.drawing.utils.Point.sq_length
igraph.drawing.utils.Point.html#sq_length
Function
Method
PUBLIC
Returns the squared length of the vector pointing from the origin to this point.
-
igraph.drawing.utils.Point.towards
igraph.drawing.utils.Point.html#towards
Function
Method
PUBLIC
Returns the point that is at a given distance from this point towards another one.
-
igraph.drawing.utils.Point.FromPolar
igraph.drawing.utils.Point.html#FromPolar
Function
Class Method
PUBLIC
Constructs a point from polar coordinates.
-
igraph.drawing.baseclasses.AbstractDrawer
igraph.drawing.baseclasses.AbstractDrawer.html
Class
Class
PUBLIC
Abstract class that serves as a base class for anything that draws an igraph object.
-
igraph.drawing.baseclasses.AbstractDrawer.draw
igraph.drawing.baseclasses.AbstractDrawer.html#draw
Function
Method
PUBLIC
Abstract method, must be implemented in derived classes.
-
igraph.drawing.baseclasses.AbstractCairoDrawer
igraph.drawing.baseclasses.AbstractCairoDrawer.html
Class
Class
PUBLIC
Abstract class that serves as a base class for anything that draws on a Cairo context within a given bounding box.
-
igraph.drawing.baseclasses.AbstractCairoDrawer.__init__
igraph.drawing.baseclasses.AbstractCairoDrawer.html#__init__
Function
Method
PUBLIC
Constructs the drawer and associates it to the given Cairo context and the given
BoundingBox
.
-
igraph.drawing.baseclasses.AbstractCairoDrawer.context
igraph.drawing.baseclasses.AbstractCairoDrawer.html#context
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.drawing.baseclasses.AbstractCairoDrawer._bbox
igraph.drawing.baseclasses.AbstractCairoDrawer.html#_bbox
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.baseclasses.AbstractCairoDrawer.bbox 0
igraph.drawing.baseclasses.AbstractCairoDrawer.html#bbox%200
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.drawing.baseclasses.AbstractCairoDrawer.bbox
igraph.drawing.baseclasses.AbstractCairoDrawer.html#bbox
Attribute
Property
PUBLIC
The bounding box of the drawing area where this drawer will draw.
-
igraph.drawing.baseclasses.AbstractCairoDrawer.bbox.setter
igraph.drawing.baseclasses.AbstractCairoDrawer.html#bbox.setter
Function
Method
PUBLIC
Sets the bounding box of the drawing area where this drawer will draw.
-
igraph.drawing.baseclasses.AbstractCairoDrawer.draw
igraph.drawing.baseclasses.AbstractCairoDrawer.html#draw
Function
Method
PUBLIC
Abstract method, must be implemented in derived classes.
-
igraph.drawing.baseclasses.AbstractCairoDrawer._mark_point
igraph.drawing.baseclasses.AbstractCairoDrawer.html#_mark_point
Function
Method
PRIVATE
Marks the given point with a small circle on the canvas. Used primarily for debugging purposes.
-
igraph.drawing.baseclasses.AbstractXMLRPCDrawer
igraph.drawing.baseclasses.AbstractXMLRPCDrawer.html
Class
Class
PUBLIC
Abstract drawer that uses a remote service via XML-RPC to draw something on a remote display.
-
igraph.drawing.baseclasses.AbstractXMLRPCDrawer.__init__
igraph.drawing.baseclasses.AbstractXMLRPCDrawer.html#__init__
Function
Method
PUBLIC
Constructs an abstract drawer using the XML-RPC service at the given URL.
-
igraph.drawing.baseclasses.AbstractXMLRPCDrawer.server
igraph.drawing.baseclasses.AbstractXMLRPCDrawer.html#server
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.drawing.baseclasses.AbstractXMLRPCDrawer.service
igraph.drawing.baseclasses.AbstractXMLRPCDrawer.html#service
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.drawing.baseclasses.AbstractXMLRPCDrawer._resolve_hostname
igraph.drawing.baseclasses.AbstractXMLRPCDrawer.html#_resolve_hostname
Function
Static Method
PRIVATE
Parses the given URL, resolves the hostname to an IP address and returns a new URL with the resolved IP address. This speeds up things big time on Mac OS X where an IP lookup would be performed for every XML-RPC call otherwise.
-
igraph.drawing.metamagic.AttributeSpecification
igraph.drawing.metamagic.AttributeSpecification.html
Class
Class
PUBLIC
Class that describes how the value of a given attribute should be retrieved.
-
igraph.drawing.metamagic.AttributeSpecification.__slots__
igraph.drawing.metamagic.AttributeSpecification.html#__slots__
Attribute
Class Variable
PUBLIC
Undocumented
-
igraph.drawing.metamagic.AttributeSpecification.__init__
igraph.drawing.metamagic.AttributeSpecification.html#__init__
Function
Method
PUBLIC
Undocumented
-
igraph.drawing.metamagic.AttributeSpecification.name
igraph.drawing.metamagic.AttributeSpecification.html#name
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.drawing.metamagic.AttributeSpecification.default
igraph.drawing.metamagic.AttributeSpecification.html#default
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.drawing.metamagic.AttributeSpecification.alt_name
igraph.drawing.metamagic.AttributeSpecification.html#alt_name
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.drawing.metamagic.AttributeSpecification.transform
igraph.drawing.metamagic.AttributeSpecification.html#transform
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.drawing.metamagic.AttributeSpecification.func
igraph.drawing.metamagic.AttributeSpecification.html#func
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.drawing.metamagic.AttributeSpecification.accessor
igraph.drawing.metamagic.AttributeSpecification.html#accessor
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.drawing.metamagic.AttributeCollectorMeta
igraph.drawing.metamagic.AttributeCollectorMeta.html
Class
Class
PUBLIC
Metaclass for attribute collector classes
-
igraph.drawing.metamagic.AttributeCollectorMeta.__new__
igraph.drawing.metamagic.AttributeCollectorMeta.html#__new__
Function
Method
PUBLIC
Undocumented
-
igraph.drawing.metamagic.AttributeCollectorMeta.record_generator
igraph.drawing.metamagic.AttributeCollectorMeta.html#record_generator
Function
Class Method
PUBLIC
Generates a simple class that has the given slots and nothing else
-
igraph.drawing.metamagic.AttributeCollectorBase
igraph.drawing.metamagic.AttributeCollectorBase.html
Class
Class
PUBLIC
Base class for attribute collector subclasses. Classes that inherit this class may use a declarative syntax to specify which vertex or edge attributes they intend to collect. See
AttributeCollectorMeta
...
-
igraph.drawing.metamagic.AttributeCollectorBase.__init__
igraph.drawing.metamagic.AttributeCollectorBase.html#__init__
Function
Method
PUBLIC
Constructs a new attribute collector that uses the given vertex/edge sequence and the given dict as data sources.
-
igraph.drawing.metamagic.AttributeCollectorBase._cache
igraph.drawing.metamagic.AttributeCollectorBase.html#_cache
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.metamagic.AttributeCollectorBase.seq
igraph.drawing.metamagic.AttributeCollectorBase.html#seq
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.drawing.metamagic.AttributeCollectorBase.kwds
igraph.drawing.metamagic.AttributeCollectorBase.html#kwds
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.drawing.metamagic.AttributeCollectorBase._collect_attributes
igraph.drawing.metamagic.AttributeCollectorBase.html#_collect_attributes
Function
Method
PRIVATE
Collects graph visualization attributes from various sources.
-
igraph.drawing.metamagic.AttributeCollectorBase.__getitem__
igraph.drawing.metamagic.AttributeCollectorBase.html#__getitem__
Function
Method
PUBLIC
Returns the collected attributes of the vertex/edge with the given index.
-
igraph.drawing.metamagic.AttributeCollectorBase.__len__
igraph.drawing.metamagic.AttributeCollectorBase.html#__len__
Function
Method
PUBLIC
Undocumented
-
igraph.drawing.text.TextAlignment
igraph.drawing.text.TextAlignment.html
Class
Class
PUBLIC
Text alignment constants.
-
igraph.drawing.text.TextAlignment.LEFT
igraph.drawing.text.TextAlignment.html#LEFT
Attribute
Constant
PUBLIC
Undocumented
-
igraph.drawing.text.TextAlignment.CENTER
igraph.drawing.text.TextAlignment.html#CENTER
Attribute
Constant
PUBLIC
Undocumented
-
igraph.drawing.text.TextAlignment.RIGHT
igraph.drawing.text.TextAlignment.html#RIGHT
Attribute
Constant
PUBLIC
Undocumented
-
igraph.drawing.text.TextAlignment.TOP
igraph.drawing.text.TextAlignment.html#TOP
Attribute
Constant
PUBLIC
Undocumented
-
igraph.drawing.text.TextAlignment.BOTTOM
igraph.drawing.text.TextAlignment.html#BOTTOM
Attribute
Constant
PUBLIC
Undocumented
-
igraph.drawing.text.TextDrawer
igraph.drawing.text.TextDrawer.html
Class
Class
PUBLIC
Class that draws text on a Cairo context.
-
igraph.drawing.text.TextDrawer.LEFT
igraph.drawing.text.TextDrawer.html#LEFT
Attribute
Constant
PUBLIC
Undocumented
-
igraph.drawing.text.TextDrawer.CENTER
igraph.drawing.text.TextDrawer.html#CENTER
Attribute
Constant
PUBLIC
Undocumented
-
igraph.drawing.text.TextDrawer.RIGHT
igraph.drawing.text.TextDrawer.html#RIGHT
Attribute
Constant
PUBLIC
Undocumented
-
igraph.drawing.text.TextDrawer.TOP
igraph.drawing.text.TextDrawer.html#TOP
Attribute
Constant
PUBLIC
Undocumented
-
igraph.drawing.text.TextDrawer.BOTTOM
igraph.drawing.text.TextDrawer.html#BOTTOM
Attribute
Constant
PUBLIC
Undocumented
-
igraph.drawing.text.TextDrawer.__init__
igraph.drawing.text.TextDrawer.html#__init__
Function
Method
PUBLIC
Constructs a new instance that will draw the given
text
on the given Cairo
context
.
-
igraph.drawing.text.TextDrawer.halign
igraph.drawing.text.TextDrawer.html#halign
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.drawing.text.TextDrawer.valign
igraph.drawing.text.TextDrawer.html#valign
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.drawing.text.TextDrawer.draw
igraph.drawing.text.TextDrawer.html#draw
Function
Method
PUBLIC
Draws the text in the current bounding box of the drawer.
-
igraph.drawing.text.TextDrawer.get_text_layout
igraph.drawing.text.TextDrawer.html#get_text_layout
Function
Method
PUBLIC
Calculates the layout of the current text. x
and y
denote the coordinates where the drawing should start. If they are both None, the current position of the context will be used.
-
igraph.drawing.text.TextDrawer.draw_at
igraph.drawing.text.TextDrawer.html#draw_at
Function
Method
PUBLIC
Draws the text by setting up an appropriate path on the Cairo context and filling it. x
and y
denote the coordinates where the drawing should start. If they are both None, the current position of the context will be used.
-
igraph.drawing.text.TextDrawer._iterlines
igraph.drawing.text.TextDrawer.html#_iterlines
Function
Method
PRIVATE
Iterates over the label line by line and returns a tuple containing the folloing for each line: the line itself, the width of the line and the X-bearing of the line.
-
igraph.drawing.text.TextDrawer._iterlines_wrapped
igraph.drawing.text.TextDrawer.html#_iterlines_wrapped
Function
Method
PRIVATE
Iterates over the label line by line and returns a tuple containing the folloing for each line: the line itself, the width of the line and the X-bearing of the line.
-
igraph.drawing.text.TextDrawer.text 0
igraph.drawing.text.TextDrawer.html#text%200
Attribute
Instance Variable
PUBLIC
Undocumented
-
igraph.drawing.text.TextDrawer.text
igraph.drawing.text.TextDrawer.html#text
Attribute
Property
PUBLIC
Returns the text to be drawn.
-
igraph.drawing.text.TextDrawer.text.setter
igraph.drawing.text.TextDrawer.html#text.setter
Function
Method
PUBLIC
Sets the text that will be drawn.
-
igraph.drawing.text.TextDrawer._text
igraph.drawing.text.TextDrawer.html#_text
Attribute
Instance Variable
PRIVATE
Undocumented
-
igraph.drawing.text.TextDrawer.text_extents