jquery.flowchart
jquery.flowchart copied to clipboard
Overwrite multipleLinksOnInput and multipleLinksOnOutput properties of the default options.
On createLink method, multipleLinksOnOutput and multipleLinksOnInput properties are obtained only from the default options.
after line 211, include this code to obtain (if exists) the multipleLinksOnOutput property of the fromOperator and the multipleLinksOnInput property of the toOperator.
In this way, each operator may overwrite the default properties.
if (typeof this.getOperatorData(linkDataOriginal.fromOperator).multipleLinksOnOutput !== "undefined")
multipleLinksOnOutput = this.getOperatorData(linkDataOriginal.fromOperator).multipleLinksOnOutput;
if (typeof this.getOperatorData(linkDataOriginal.toOperator).multipleLinksOnInput !== "undefined")
multipleLinksOnInput = this.getOperatorData(linkDataOriginal.toOperator).multipleLinksOnInput;
congratulations for the work!
Thanks for the suggestion, I will add it shortly :smile: