/// <summary> /// Creates a dependancy graph from another dependancy graph. /// </summary> /// <param name="dg"></param> public DependencyGraph(DependencyGraph dg) { cellDict = new Dictionary <string, Cell>(); foreach (String s in dg.GetCells().Keys.ToList <String>()) { foreach (String t in dg.GetDependents(s)) { AddDependency(s, t); } } }