Skip to content

Ace-bb/Tree-Map-Operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

一个基于Butterfly-vue的决策树编辑器

一个简易的树形图谱编辑工具,使用butterfly-vue组件完成图谱的展示,支持对图谱节点的增删改查功能。 目前的功能:

  1. 节点和连接线的增删改查
  2. 新建文件以及保存文件

页面展示

安装

Vue安装

npm install

FastAPI服务器安装

pip install -r requirement.txt

运行

npm run serve

首页

首页是 Web/src/views/HomeView.vue

使用到了butterfly组件来绘制决策树,官网为: butterfly 需要自己查看官网教程,学习怎么使用

后端接口

Web/src/api/api.js 这个是接口列表,所有的接口都在这里声明,然后在其他页面import使用

FastAPI服务端

FastAPI服务器在web-server目录下

运行

python main.py

运行时需要修改下面这句代码中的host和port,修改成自己服务器的ip地址和端口号

uvicorn.run('server:app', host='*', port=13333, reload=True)

About

A simple tree map editing tool, the use of butterfly-vue component to complete the picture display, support to add, delete, change and check the node of the map function.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors