For target endpoints, the global value for creating unlimited connections:
var targetEndpoint = { endpoint: "Dot", paintStyle: { fillStyle: "blue", radius: 7 }, hoverPaintStyle: endpointHoverStyle, maxConnections: -1, dropOptions: { hoverClass: "hover", activeClass: "active" }, isTarget: true, overlays: [["Label", { location: [0.5, -0.5], label: "", cssClass: "endpointTargetLabel" }]] };
for source The endpoint establishes globality for creating unlimited connections:
var sourceEndpoint = { endpoint: "Dot", paintStyle: { strokeStyle: "green", fillStyle: "green", radius: 3, lineWidth: 1 }, isSource: true, maxConnections: -1, connector: ["Flowchart", { stub: [40, 60], gap: 10, cornerRadius: 5, alwaysRespectStubs: true }], connectorStyle: connectorPaintStyle, hoverPaintStyle: endpointHoverStyle, connectorHoverStyle: connectorHoverStyle, dragOptions: {}, overlays: [["Label", { location: [0.5, 1.5], label: "", cssClass: "endpointSourceLabel", }]] };
Vatsal pathak
source share