/// <summary>
 /// Trims all internal data structures.
 /// </summary>
 public override void Trim()
 {
     _graph.Trim();
 }