![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jointjs
qq_34158117
这个作者很懒,什么都没留下…
展开
-
jointjs
鼠标事件: 捕获当前鼠标在哪个单元格 paper.on('cell:pointerdown', function(cellView, evt, x, y) { var cell = cellView.model; //获取当前单元格,比如矩形 console.log(cell.get("size"))//获取矩形的长宽 console.log(cell.get("size").height...原创 2019-09-10 16:12:04 · 176 阅读 · 0 评论 -
jonitjs图形嵌套
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <div id="paper-reparenting"&g...原创 2019-09-12 15:30:02 · 205 阅读 · 0 评论 -
jointjs双击删除
var paper = new joint.dia.Paper({ el: document.getElementById('paper-events-custom-view-events-propagation'), model: graph, width: 600, ...原创 2019-09-12 15:40:18 · 360 阅读 · 0 评论