-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
rocketren
committed
Jun 2, 2018
1 parent
b9cd75a
commit 3e85994
Showing
139 changed files
with
2,102 additions
and
33,922 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
.cache/ | ||
dev/ | ||
node_modules/ | ||
.idea/ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,38 @@ | ||
# Mindmap Tree | ||
一个基于Raphael.js图形库实现的思维导图 | ||
|
||
## 相关技术点 | ||
* 使用RequireJS作模块管理 | ||
* 图形绘制使用Raphael.js | ||
|
||
## 功能介绍 | ||
* 增加节点:选择某个节点后,点击增加键可以增加节点 | ||
* 删除节点:选择某个节点后,点击删除键可以删除节点 | ||
* 拖动节点改变父子关系:拖动A节点到B节点上,可将A节点设为B节点的子节点 | ||
* 节点文本编辑:在输入框中输入文本后,点击确定即可修改节点文本 | ||
|
||
## 备注 | ||
* 该应用不用安装其他东西,使用浏览器打开index.html即可使用 | ||
# Mindmap Tree | ||
一个基于[Raphael.js](http://dmitrybaranovskiy.github.io/raphael/)图形库实现的思维导图 | ||
|
||
## 开始 | ||
安装依赖包: | ||
|
||
```sh | ||
npm install | ||
``` | ||
|
||
## 开发 | ||
```sh | ||
npm run dev | ||
``` | ||
|
||
启动后访问 **http://127.0.0.1:8201/index.html** | ||
|
||
## 发布 | ||
```sh | ||
npm run dist | ||
``` | ||
|
||
运行上面命令后会在项目目录下生成 **dist** 目录 | ||
|
||
## 功能介绍 | ||
* 增加节点:选择某个节点后,点击增加键可以增加节点 | ||
* 删除节点:选择某个节点后,点击删除键可以删除节点 | ||
* 拖动节点改变父子关系:拖动A节点到B节点上,可将A节点设为B节点的子节点 | ||
* 节点文本编辑:在输入框中输入文本后,点击确定即可修改节点文本 | ||
|
||
## 其他 | ||
* 仅供学习使用,问题比较多,请勿直接运用到生产环境上 | ||
|
||
## License | ||
|
||
MIT | ||
|
||
Copyright (c) 2018 - present, RockyRen |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.