qjkiddy83 / jsmind

Javascript version of mind mapping

Home Page:http://jsmind.sinaapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jsMind

build-test

jsMind 是一个显示/编辑思维导图的纯 javascript 类库,其基于 html5 canvas (和 svg) 进行设计。jsMind 以 BSD 协议开源,在此基础上你可以在你的项目上任意使用。你可以在此浏览适用于 jsMind 的 BSD 许可协议(中英文版本)

jsMind is a pure javascript library for mindmap, it base on html5 canvas and svg. jsMind was released under BSD license, you can embed it in any project, if only you observe the license. You can read the BSD license agreement for jsMind in English and Chinese version here.

Get Started

<html>
    <head>
        <link type="text/css" rel="stylesheet" href="style/jsmind.css" />
        <script type="text/javascript" src="js/jsmind.js"></script>
        <!--
            enable drag-and-drop feature
            <script type="text/javascript" src="js/jsmind.draggable.js"></script>
        -->
    </head>
    <body>
        <div id="jsmind_container"></div>

        <script type="text/javascript">
            var mind = {
                // 3 data formats were supported ...
                // see Documents for more information
            };
            var options = {
                container: 'jsmind_container',
                theme: 'orange',
                editable: true,
            };
            var jm = new jsMind(options);
            jm.show(mind);
        </script>
    </body>
</html>

Links

ES6 Pilot Version

  • 目前处于测试阶段,欢迎试用找 bug, ES6 代码位于 /src, 可运行于浏览器的 js 文件位于 /es6
  • Currently it's in the testing stage, You are welcome to serve as a guinea pig, the ES6 code is located in /src, and the js files that can run in browsers are located in /es6
  • Demo http://hizzgdev.github.io/jsmind/example/2_features_es6.html

Maintainer

About

Javascript version of mind mapping

http://jsmind.sinaapp.com

License:Other


Languages

Language:JavaScript 81.6%Language:HTML 16.3%Language:CSS 2.1%