//! Submodule defining a builder trait for monopartite graphs.
usecrate::traits::MonopartiteGraph;/// Trait for building a monoparite graph.
pubtraitMonopartiteGraphBuilder{/// The graph type that the builder builds.
typeMonopartiteGraph: MonopartiteGraph;#[must_use]/// Sets the nodes of the graph.
fnnodes(self, nodes:<Self::MonopartiteGraph as MonopartiteGraph>::Nodes)->Self;}