Exemplo n.º 1
0
        public virtual rMindBaseNode CreateNode(rMindNodeDesc desc)
        {
            var node = new rMindBaseNode(this)
            {
                ConnectionType = desc.ConnectionType
            };

            node.IDS = "node" + m_nodes_link.Count.ToString();
            m_nodes_link[node.IDS] = node;
            Template.Children.Add(node.Template);

            return(node);
        }
Exemplo n.º 2
0
        /// <summary> create new node for connection </summary>
        public virtual rMindBaseNode CreateNode()
        {
            var desc = new rMindNodeDesc();

            return(CreateNode(desc));
        }