/// <summary>
 /// Initializes a new instance of the <see cref="ClusteredAdjacencyGraph{TVertex,TEdge}"/> class.
 /// </summary>
 /// <param name="parentGraph">Parent graph.</param>
 /// <exception cref="T:System.ArgumentNullException"><paramref name="parentGraph"/> is <see langword="null"/>.</exception>
 public ClusteredAdjacencyGraph([NotNull] ClusteredAdjacencyGraph <TVertex, TEdge> parentGraph)
 {
     Parent  = parentGraph ?? throw new ArgumentNullException(nameof(parentGraph));
     Wrapped = new AdjacencyGraph <TVertex, TEdge>(parentGraph.AllowParallelEdges);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ClusteredAdjacencyGraph{TVertex,TEdge}"/> class.
 /// </summary>
 /// <param name="wrappedGraph">Graph to wrap.</param>
 /// <exception cref="T:System.ArgumentNullException"><paramref name="wrappedGraph"/> is <see langword="null"/>.</exception>
 public ClusteredAdjacencyGraph([NotNull] AdjacencyGraph <TVertex, TEdge> wrappedGraph)
 {
     Parent    = null;
     Wrapped   = wrappedGraph ?? throw new ArgumentNullException(nameof(wrappedGraph));
     Collapsed = false;
 }