Esempio n. 1
0
        public SaveGraph GetSaveGraph()
        {
            SaveGraph saveGraph = new SaveGraph();

            nodes.ForEach(p => saveGraph.nodes.Add(p.GetSaveNode()));
            return(saveGraph);
        }
Esempio n. 2
0
 public Graph(SaveGraph graph)
 {
     nodes = graph.nodes.Select(p => new Node(p)).ToList();
 }