public Graph(AntModel antModel) { AntModel = antModel; PlanetSize = AntModel.Map["areas"].Count; //shortcut RowSize = (int)Math.Sqrt(PlanetSize); //shortcut !!! requires squere GraphBody = BuildGraph(antModel, PlanetSize, RowSize); StartNode = AntModel.GetStartingNode(this); EndNode = AntModel.GetEndingNode(this); }