0

My question is quite simple, how can I overwrite the method connectEnd from the aui-diagram-builder-impl.js ?

There is no problem to overwrite the methods from aui-diagram-builder.js. I importing the aui-diagram-builder-impl.js file in my index.html but it still not working.

I overwrite the methods like that:

Y.DiagramBuilder.editConnector = function (connector) {
                    //some code
                };

and it works, but this is not...

Y.DiagramBuilder.connectEnd = function (connector) {
                    //some code
                };

Some ideas, anybody ?

1 Answers1

1

DiagramBuilder has no connectEnd() function. Perhaps you are looking for DiagramNodeCondition.connectEnd()?

stiemannkj1
  • 4,418
  • 3
  • 25
  • 45