private void AddNode(Node node) { node.CreateMinConnections(); Dictionary <string, Node> nodesToAdd = new Dictionary <string, Node>(1); nodesToAdd[node.Name] = node; AddNodes(nodesToAdd); }
protected internal virtual Node CreateNode(NodeValidator nv, bool createMinConn) { Node node = new Node(this, nv); if (createMinConn) { node.CreateMinConnections(); } return(node); }