NetworkX

Previous topic

Algorithms

Next topic

networkx.algorithms.bipartite.is_bipartite

BipartiteΒΆ

is_bipartite(G) Returns True if graph G is bipartite, False if not.
bipartite_sets(G) Returns bipartite node sets of graph G.
bipartite_color(G) Returns a two-coloring of the graph.
project(B, nodes[, create_using]) Return the projection of the graph onto a subset of nodes.