graph.bipartite() was renamed to make_bipartite_graph() to create a more
consistent API.
Arguments
- types
A vector giving the vertex types. It will be coerced into boolean. The length of the vector gives the number of vertices in the graph. When the vector is a named vector, the names will be attached to the graph as the
namevertex attribute.- edges
A vector giving the edges of the graph, the same way as for the regular
make_graph()function. It is checked that the edges indeed connect vertices of different kind, according to the suppliedtypesvector. The vector may be a string vector iftypesis a named vector.- directed
Whether to create a directed graph, boolean constant. Note that by default undirected graphs are created, as this is more common for bipartite graphs.
