@hubary/custom-jsplumb
v2.15.6-Beta.0
Published
对jsplumb v2.15.6进行自定义调整以实现业务需求
Maintainers
Readme
custom-jsplumb
对src/connectors-flowchart.js进行修改,添加了customEndHeightConvert方法,修改了addSegment ,用于解决如图所示问题
custom before

custom after

# 相关配置
{
anchor: ["Bottom", "Top"],
connector: [
"Flowchart",
{
alwaysRespectStubs: false,
stub: 20,
customEnd: true,
customEndHeight: 20,
},
],
endpoint: "Blank",
paintStyle: { stroke: "#999", strokeWidth: 2 },
overlays: [["Arrow", { width: 8, length: 8, location: 1 }]],
};