我有一个动态生成的流程图与jsPlumb。 我将它保存到MySQL数据库,我需要一个不带任何编辑功能的不同视图。jsPlumb端点可见:false?
我知道如何删除所有部分,使他们不能编辑 但它总是显示连接点(左,右,上,下)
我怎样才能让他们看不见的,这样我只看到连接器/没有我的连接点的箭头?
sourceEndpoint = {
endpoint:["Rectangle",{ width:1, height:1}],
paintStyle:{
fillStyle:"#db0013",
},
maxConnections:999,
isSource:false,
isTarget:false,
connector:[ "Flowchart", { stub:[10, 25], gap:0, cornerRadius:0, alwaysRespectStubs:false } ],
connectorStyle:connectorPaintStyle,
hoverPaintStyle:endpointHoverStyle,
connectorHoverStyle:connectorHoverStyle,
dragOptions:{}
},
矩形宽度和高度= 1使得它非常小,但仍可见 我怎样才能使它invis? :)
THX所以发
XQP
THX再试一次对于那个解决方案,稍晚一点,但仍然可以使用它thx – xQp 2015-03-24 12:09:54