mind-elixir 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mind-elixir",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Mind elixir is a free open source mind map core.",
5
5
  "main": "dist/MindElixir.js",
6
6
  "scripts": {
package/readme.md CHANGED
@@ -57,7 +57,7 @@ import MindElixir, { E } from 'mind-elixir'
57
57
  #### Script tag
58
58
 
59
59
  ```html
60
- <script src="https://cdn.jsdelivr.net/npm/mind-elixir/dist/mind-elixir.js"></script>
60
+ <script src="https://cdn.jsdelivr.net/npm/mind-elixir/dist/MindElixir.js"></script>
61
61
  ```
62
62
 
63
63
  ### HTML structure
@@ -136,7 +136,7 @@ E('node-id')
136
136
 
137
137
  ```javascript
138
138
  // whole node data structure up to now
139
- {
139
+ nodeData = {
140
140
  topic: 'node topic',
141
141
  id: 'bd1c24420cd2c2f5',
142
142
  style: { fontSize: '32', color: '#3298db', background: '#ecf0f1' },
@@ -144,6 +144,13 @@ E('node-id')
144
144
  tags: ['Tag'],
145
145
  icons: ['😀'],
146
146
  hyperLink: 'https://github.com/ssshooter/mind-elixir-core',
147
+ children: [
148
+ {
149
+ topic: 'child',
150
+ id: 'xxxx',
151
+ // ...
152
+ },
153
+ ],
147
154
  }
148
155
  ```
149
156
 
@@ -219,6 +226,10 @@ painter.exportPng()
219
226
 
220
227
  https://doc.mind-elixir.com/
221
228
 
229
+ ## Not only core
230
+
231
+ - [@mind-elixir/export-xmind](https://github.com/ssshooter/export-xmind)
232
+
222
233
  ## Thanks
223
234
 
224
235
  [canvg](https://github.com/canvg/canvg)