* Serialize current mind to given format. * @param {'node_tree'|'node_array'|'freemind'|'text'} [data_format] * @returns {object}
(data_format)
| 397 | * @returns {object} |
| 398 | */ |
| 399 | get_data(data_format) { |
| 400 | var df = data_format || 'node_tree'; |
| 401 | return this.data.get_data(df); |
| 402 | } |
| 403 | /** @returns {import('./jsmind.node.js').Node} */ |
| 404 | get_root() { |
| 405 | return this.mind.root; |
no outgoing calls
no test coverage detected