示例#1
0
文件: Program.cs 项目: Sammedw/Graph
        public void addNode(string name, Dictionary <string, int> edges)
        {
            Node newNode = new Node(name);

            newNode.defineEdges(edges);
            this.Nodes.Add(newNode);
        }