biaochengliu / easy-flow Goto Github PK
View Code? Open in Web Editor NEW基于VUE+JsPlumb的流程设计器
License: Apache License 2.0
基于VUE+JsPlumb的流程设计器
License: Apache License 2.0
node_form.vue
save() {
this.data.nodeList.filter((node) => {
if (node.id === this.node.id) {
node.name = this.node.name
node.left = this.node.left
node.top = this.node.top
node.ico = this.node.ico//没有这个
this.$emit('repaintEverything')
}
})
}
你好,请教下,如何固定连接点和线的接受点,两点连接位置不会随节点变化而变化
修改了节点位置,流程信息的节点位置无变化,这样无法保存节点位置的变化
index如果是ajax加载的 然后在添加一个的时候会造成重复 改为以下
const index = this.data.nodeList.length+1;
这里少了一个data.
_this.data.lineList.push({...
_this.data.lineList.push({ from: from, to: to })
不是很清楚是如何将anchor固定在左上角图标的位置的
在下拉节点的时候,想要盒子的滚动条跟随节点的滚动,使正在操作的盒子一直显示在容器中
Things that you create and don't specify a license for, are automatically copyrighted to you - and not re-usable by others without explicit permission for each use.
As far as I can see, there's no license specified for this repository, so anyone who wants to use it would need to get permission directly from you for each use. in fact, in the package.json
, private
is set to true
- generally taken to mean that this code is copyrighted by you and not available for others to use.
Is this intentional? If not, you should specify the license, so others can use it.
------------------- Google Translate --------------------------
您创建且未指定许可的内容将自动获得版权保护-未经每次使用的明确许可,他人不得重复使用。
据我所知,没有为该存储库指定许可证,因此任何想要使用它的人都需要直接从您那里获得每次使用的许可。 实际上,在package.json中,private设置为true,通常是指该代码已由您拥有版权,其他人无法使用。
这是故意的吗? 如果没有,则应指定许可证,以便其他人可以使用它。
...
deleteNode(nodeId) {
this.$confirm('确定要删除节点' + nodeId + '?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
closeOnClickModal: false
}).then(() => {
this.data.nodeList = this.data.nodeList.filter(function (node) {
if (node.id === nodeId) {
console.log('deleteNode node', node)
node.show = false
return false // 修复:同时这个节点信息
} else {
return true
}
})
....
自连接怎么拖出来
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.