Example #1
0
        public string MindMap_Create(List <string> treeDefinitionList)
        {
            pcMindMap map = CreateMindmap();


            return("");
        }
Example #2
0
        /// <summary>Creates the root element.</summary>
        /// <param name="map">The map.</param>
        /// <param name="nodeName">Name of the node.</param>
        public void CreateRoot(pcMindMap map, string nodeName)
        {
            // Create the first element
            var id          = 1;
            var nodeElement = xDoc_NodeElementAdd(map.mm, nodeName, id++);

            nodeElement.zxDoc_Attribute_Set("STYLE", "bubble");
            map.mmDictionary.Add(nodeName, nodeElement);
        }
Example #3
0
        /// <summary>Creates the root element of the mindmap.</summary>
        /// <param name="version">The version.</param>
        /// <returns></returns>
        public pcMindMap CreateMindmap(string version = "1.0.1")
        {
            // Create the map element
            var      xDoc = new XDocument();
            XElement mm   = xDoc.zxDoc_Element_RootSet("map");

            mm.zxDoc_Attribute_Set("version", version);
            Element_SetComment(mm, " To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net ");
            var result = new pcMindMap(mm);

            return(result);
        }