public Node AddNode(Node iNode) { if (!m_nodeSet.ContainsKey(iNode.ID)) { nodes.Add(iNode); } m_nodeSet[iNode.ID] = iNode; notify(); return iNode; }