Skip to content

Commit 228ec93

Browse files
'添加了导出svg功能(组与组之间的元素相连后修改连线样式会有缺陷)'
1 parent 9a2a990 commit 228ec93

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/views/customToolbar/customToolbar.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,9 @@ export default {
416416
createGraph () {
417417
// 创建graph
418418
// 方式一:直接构建graph实例
419-
this.graph = new mxGraph(this.$refs.container)
419+
// this.graph = new mxGraph(this.$refs.container)
420420
this.editor = new mxEditor();
421-
// this.graph = this.editor.graph;
421+
this.graph = this.editor.graph;
422422
this.editor.setGraphContainer(this.$refs.container);
423423
// 配置默认全局样式
424424
this.configureStylesheet(this.graph);
@@ -553,7 +553,7 @@ export default {
553553
// this.graph.setPanning(true);
554554
this.graph.setPanning = true;
555555
// 开启提示
556-
this.graph.setTooltips(true);
556+
this.graph.setTooltips(false);
557557
// 允许连线
558558
this.graph.setConnectable(true);
559559
//移动元素的步长

0 commit comments

Comments
 (0)