Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

XMind SDK for javascript (IN BOTH NODE.JS & BROWSERS)

License

NotificationsYou must be signed in to change notification settings

leungwensen/xmind-sdk-javascript

Repository files navigation

XMind SDK for javascript (IN BOTH NODE.JS & BROWSERS)

Usage (seeAPI reference for more information)

npm install xmind
varxmind=require('xmind'),Workbook=xmind.Workbook;// open xmind filevarworkbookFromFile=xmind.open('path/to/xmind-file.xmind');// creating a new xmind filevarworkbook=newWorkbook({firstSheetId:'sheet-1',firstSheetName:'primary sheet',rootTopicId:'topic-1',rootTopicName:'root topic'});// saving an xmind fileworkbook.save('path/to/new-xmind-file.xmind');// orxmind.save(workbook,'path/to/new-xmind-file.xmind');// output as JSON Stringworkbook.toJSON();// get the primary sheetvarsheet=workbook.getPrimarySheet();// add a new sheetvarnewSheet=workbook.addSheet(/*options*/);// get the root topicvarrootTopic=sheet.rootTopic;// add a subtopicvarsubTopic=rootTopic.addChild(/*options*/);

Thanks to

xmind-sdk-javascript is built on top of all these fantastic projects:

and these projects helps a lot, too:

About

XMind SDK for javascript (IN BOTH NODE.JS & BROWSERS)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp