mxgraph画图时,创建边连接,边不能与顶点对齐

问题描述

mxgraph画图时,创建边连接,边不能与顶点对齐,代码为:

相关代码

// 请把代码文本粘贴到下方(请勿用图片代替代码)

 var v1 = createVertex(parent, getVertexId(), '低压电源ss', 120, 20,24, 24, 'dydy');
                    
 var v3 = createVertex(parent, getVertexId(), '计量点:22', 120,300 , 18, 18, 'jld');
                                            
var e11 = createEdge(parent, getEdgeId(), '', v1, v3, 'edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.75;exitY=1;jettySize=auto;orthogonalLoop=1;'); //边的类型为orthogonalEdgeStyle
        
                    
                 

图片描述

阅读 1.6k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题