Giter Club home page Giter Club logo

mind-map's Introduction

Simple mind map

npm-version npm download GitHub stars GitHub issues GitHub forks license

A Simple & Powerful Web Mind Map

This project consists of two parts:

1.A js mind map library that does not depend on any framework, you can use it to quickly complete the development of Web mind map products.

Development documentation: https://wanglin2.github.io/mind-map/#/doc/zh/

2.A web mind map, developed based on the mind map library, Vue2. can be deployed to your server.

Online address: https://wanglin2.github.io/mind-map/

In addition, a client is also available for download, supporting Windows, Mac and Linux, download address:

Github:releases

Baidu cloud disk: 地址

Characteristic

  • Plug-in architecture, in addition to the core functions, other functions are provided as plug-ins, which can be used on demand and reduce the packaging volume
  • Support logical structure chart, mind map, organization chart, directory organization chart, time axis, and fishbone diagram
  • A variety of built-in themes allow highly customized styles and support for registering new themes
  • Support shortcut keys
  • Node content supports pictures, icons, hyperlinks, notes, labels, and summaries
  • Support forward and backward
  • Support dragging and zooming
  • Support two multi-selection methods of right button and Ctrl+left button
  • Support node free dragging and dragging adjustment
  • Supports multiple node shapes
  • Support exporting to json, png, svg, pdf, markdown, support importing from json, xmind, markdown
  • Support small map, support watermark
  • Support link

Install

npm i simple-mind-map

Use

Provide a container element with a width and height other than 0:

<div id="mindMapContainer"></div>

In addition, set the css style:

#mindMapContainer * {
  margin: 0;
  padding: 0;
}

Then create an instance:

import MindMap from "simple-mind-map";

const mindMap = new MindMap({
  el: document.getElementById('mindMapContainer'),
  data: {
    "data": {
        "text": "根节点"
    },
    "children": []
  }
});

You can get a mind map.

Want to achieve more functions? can view development documentation

License

MIT

WeChat exchange group

buy the author a cup of coffee

A box of thick coconut milk + half a box of pure milk + ice cubes + coffee liquid = raw coconut latte yyds

mind-map's People

Contributors

emircanerkul avatar harris2012 avatar huangyuanyin avatar meghdad avatar wanglin2 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.