vue中使用mxgraph_使用vue和mxGraph构建Typeflow的绘图工具

本文介绍了如何使用Vue.js和mxGraph库创建一个类型流编辑器(typeflow-editor)。编辑器允许用户拖动“定义”中的元素以显示表格填充,完成模型创建后,可以通过双击顶点进行检查或更新。此外,提供了删除、缩放、导出、导入和保存功能,导入时可选择本地或数据库来源。
摘要由CSDN通过智能技术生成

vue中使用mxgraph

类型流编辑器 (typeflow-editor)

build with the vue and mxGraph.

使用vue和mxGraph构建。

核心外观 (Core appearance)

typeflow-editor

拖动“定义”中的元素之一后,将显示表格以填充 (After drag the one of the elements in "definitions", the form will display to fill)

inputForm

完成创建Typflow模型后 (After finishing creating your typflow-model)

draw

检查或更新创建的元素,可以双击 “定义”顶点(InputEndpoint,OutputEndpoint,PureFunction) (To check or update the created elements you can double click the Definition vertex (InputEndpoint, OutputEndpoint, PureFunction))

update2

update1

删除缩放 ( 放大 /缩小), 导出导入保存 ,请使用左侧的工具栏 (To delete, zoom(in/out), export, import or save, use the left tool bar)

toolbar

导入时,可以选择从本地从数据库导入 (When import, you can choose import from local or from database)

import_choose

数据库何时 (When from database)

choose_panel

项目设置 (Project setup)

npm install

编译和热重装以进行开发 (Compiles and hot-reloads for development)

npm run serve

翻译自: https://vuejsexamples.com/draw-tool-for-typeflow-build-with-the-vue-and-mxgraph/

vue中使用mxgraph

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值