UNPKG

6.54 kBJavaScriptView Raw
1const d = {
2 direction: 2,
3 nodeData: {
4 id: "me-root",
5 topic: "Mind Elixir",
6 root: !0,
7 tags: ["Mind Map Core"],
8 children: [
9 {
10 topic: "logo2",
11 id: "56dae51a90d350a8",
12 direction: 0,
13 expanded: !0,
14 children: [
15 {
16 id: "use-image",
17 topic: "mind-elixir",
18 image: {
19 url: "https://raw.githubusercontent.com/ssshooter/mind-elixir-core/master/images/logo2.png",
20 height: 90,
21 width: 90
22 }
23 }
24 ]
25 },
26 {
27 topic: "What is Mind Elixir",
28 id: "bd4313fbac40284b",
29 direction: 0,
30 expanded: !0,
31 // branchColor: '#e64553',
32 children: [
33 { topic: "A mind map core", id: "beeb823afd6d2114" },
34 { topic: "Free", id: "c1f068377de9f3a0" },
35 { topic: "Open-Source", id: "c1f06d38a09f23ca" },
36 {
37 topic: "Use without JavaScript framework",
38 id: "c1f06e4cbcf16463",
39 expanded: !0,
40 children: []
41 },
42 {
43 topic: "Use in your own project",
44 id: "c1f1f11a7fbf7550",
45 children: [
46 {
47 topic: "import MindElixir from 'mind-elixir'",
48 id: "c1f1e245b0a89f9b"
49 },
50 { topic: "new MindElixir({...}).init(data)", id: "c1f1ebc7072c8928" }
51 ]
52 },
53 {
54 topic: "Easy to use",
55 id: "c1f0723c07b408d7",
56 expanded: !0,
57 children: [
58 {
59 topic: "Use it like other mind map application",
60 id: "c1f09612fd89920d"
61 }
62 ]
63 }
64 ]
65 },
66 {
67 topic: "Basics",
68 id: "bd1b66c4b56754d9",
69 direction: 0,
70 expanded: !0,
71 children: [
72 { topic: "tab - Create a child node", id: "bd1b6892bcab126a" },
73 { topic: "enter - Create a sibling node", id: "bd1b6b632a434b27" },
74 { topic: "del - Remove a node", id: "bd1b983085187c0a" }
75 ]
76 },
77 {
78 topic: "Focus mode",
79 id: "bd1b9b94a9a7a913",
80 direction: 1,
81 expanded: !0,
82 children: [
83 {
84 topic: "Right click and select Focus Mode",
85 id: "bd1bb2ac4bbab458"
86 },
87 {
88 topic: "Right click and select Cancel Focus Mode",
89 id: "bd1bb4b14d6697c3"
90 }
91 ]
92 },
93 {
94 topic: "Left menu",
95 id: "bd1b9d1816ede134",
96 direction: 0,
97 expanded: !0,
98 children: [
99 {
100 topic: "Node distribution",
101 id: "bd1ba11e620c3c1a",
102 expanded: !0,
103 children: [
104 { topic: "Left", id: "bd1c1cb51e6745d3" },
105 { topic: "Right", id: "bd1c1e12fd603ff6" },
106 { topic: "Both l & r", id: "bd1c1f03def5c97b" }
107 ]
108 }
109 ]
110 },
111 {
112 topic: "Bottom menu",
113 id: "bd1ba66996df4ba4",
114 direction: 1,
115 expanded: !0,
116 children: [
117 { topic: "Full screen", id: "bd1ba81d9bc95a7e" },
118 { topic: "Return to Center", id: "bd1babdd5c18a7a2" },
119 { topic: "Zoom in", id: "bd1bae68e0ab186e" },
120 { topic: "Zoom out", id: "bd1bb06377439977" }
121 ]
122 },
123 {
124 topic: "Link",
125 id: "bd1beff607711025",
126 direction: 0,
127 expanded: !0,
128 children: [
129 { topic: "Right click and select Link", id: "bd1bf320da90046a" },
130 {
131 topic: "Click the target you want to link",
132 id: "bd1bf6f94ff2e642"
133 },
134 { topic: "Modify link with control points", id: "bd1c0c4a487bd036" }
135 ]
136 },
137 {
138 topic: "Node style",
139 id: "bd1c217f9d0b20bd",
140 direction: 0,
141 expanded: !0,
142 children: [
143 {
144 topic: "Font Size",
145 id: "bd1c24420cd2c2f5",
146 style: { fontSize: "32", color: "#3298db" }
147 },
148 {
149 topic: "Font Color",
150 id: "bd1c2a59b9a2739c",
151 style: { color: "#c0392c" }
152 },
153 {
154 topic: "Background Color",
155 id: "bd1c2de33f057eb4",
156 style: { color: "#bdc3c7", background: "#2c3e50" }
157 },
158 { topic: "Add tags", id: "bd1cff58364436d0", tags: ["Completed"] },
159 {
160 topic: "Add icons",
161 id: "bd1d0317f7e8a61a",
162 icons: ["😂"],
163 tags: ["www"]
164 },
165 {
166 topic: "Bolder",
167 id: "bd41fd4ca32322a4",
168 style: { fontWeight: "bold" }
169 },
170 {
171 topic: "Hyper link",
172 id: "bd41fd4ca32322a5",
173 hyperLink: "https://github.com/ssshooter/mind-elixir-core"
174 }
175 ]
176 },
177 {
178 topic: "Draggable",
179 id: "bd1f03fee1f63bc6",
180 direction: 1,
181 expanded: !0,
182 children: [
183 {
184 topic: `Drag a node to another node
185and the former one will become a child node of latter one`,
186 id: "bd1f07c598e729dc"
187 }
188 ]
189 },
190 {
191 topic: "TODO",
192 id: "bd1facea32a1967c",
193 direction: 1,
194 expanded: !0,
195 children: [
196 { topic: "Add image", id: "bd1fb1ec53010749" },
197 { topic: "Free node (position)", id: "bd42d3e3bee992b9" },
198 { topic: "Style adjustment", id: "beeb7f3db6ad6496" }
199 ]
200 },
201 {
202 topic: "Export data",
203 id: "beeb7586973430db",
204 direction: 1,
205 expanded: !0,
206 children: [
207 { topic: "JSON", id: "beeb784cc189375f" },
208 { topic: "HTML", id: "beeb7a6bec2d68f5" }
209 ]
210 },
211 {
212 topic: "Caution",
213 id: "bd42dad21aaf6bae",
214 direction: 0,
215 style: { background: "#f1c40e" },
216 expanded: !0,
217 children: [
218 {
219 topic: "Only save manually",
220 id: "bd42e1d0163ebf04",
221 expanded: !0,
222 children: [
223 {
224 topic: "Save button in the top-right corner",
225 id: "bd42e619051878b3",
226 expanded: !0,
227 children: []
228 },
229 { topic: "ctrl + S", id: "bd42e97d7ac35e99" }
230 ]
231 }
232 ]
233 }
234 ],
235 expanded: !0
236 },
237 linkData: {}
238};
239export {
240 d as default
241};