Skip to content

Commit 6c18ece

Browse files
committed
chore: update readme
1 parent 76490a8 commit 6c18ece

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

readme.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,21 @@ E('node-id')
136136

137137
```javascript
138138
// whole node data structure up to now
139-
{
139+
nodeData = {
140140
topic: 'node topic',
141141
id: 'bd1c24420cd2c2f5',
142142
style: { fontSize: '32', color: '#3298db', background: '#ecf0f1' },
143143
parent: null,
144144
tags: ['Tag'],
145145
icons: ['😀'],
146146
hyperLink: 'https://github.com/ssshooter/mind-elixir-core',
147+
children: [
148+
{
149+
topic: 'child',
150+
id: 'xxxx',
151+
// ...
152+
},
153+
],
147154
}
148155
```
149156

@@ -219,6 +226,10 @@ painter.exportPng()
219226

220227
https://doc.mind-elixir.com/
221228

229+
## Not only core
230+
231+
- [@mind-elixir/export-xmind](https://github.com/ssshooter/export-xmind)
232+
222233
## Thanks
223234

224235
[canvg](https://github.com/canvg/canvg)

0 commit comments

Comments
 (0)