Install JS Plumb from NPM.
Import the min file in your cli file.
ngInit to intialize the plumb instance and your ready to go. as shown below
jsPlumb.ready(function() {
currentContext.plumbConfig.PlumbInstance = jsPlumb.getInstance({
Connector: [
"Flowchart",
{ gap: 1, cornerRadius: 3, alwaysRespectStubs: false }
],
DragOptions: { cursor: "move", zIndex: 2000 },
PaintStyle: { strokeStyle: color, strokeWidth: 4, lineWidth: 3 },
EndpointStyle: { radius: 1, fillStyle: "transparent" },
Container: "botGraph"
});
});