Coder Social home page Coder Social logo

xmind-go's Introduction

给定父子结构关系json,生成对应的xmind文件

path 保存数据的路径 data := [{"node_id":"1","topic_content":"main topic"}, {"node_id":"2","topic_content":"topic1","parent_id":"1"},{"node_id":"3","topic_content":"topic2","parent_id":"1"}, {"node_id":"4","topic_content":"topic3","parent_id":"2"},{"node_id":"5","topic_content":"topic4","parent_id":"2"}, {"node_id":"6","topic_content":"topic5","parent_id":"3"},{"node_id":"7","topic_content":"topic6","parent_id":"3"}, {"node_id":"8","topic_content":"topic8","parent_id":"7"} ] 这里定义 node_id 表示节点id, topic_content 表示主题内容, parent_id 表示父节点id

支持json格式和xml格式,兼容高版本的xmind,常用版本的xmind都能打开 使用

go install github.com/xiazemin/xmind-go

xmind-go's People

Contributors

xiazemin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.