We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 534d4db commit 850b0a8Copy full SHA for 850b0a8
built/drawModule.js
@@ -153,13 +153,13 @@ function removeDummyEdges(g) {
153
var section = edge.sections[0];
154
if (dummyIsSource) {
155
// get first bend or endPoint
156
- if (section.bendPoints) {
+ if (section.bendPoints && section.bendPoints.length > 0) {
157
return [section.bendPoints[0]];
158
}
159
return section.endPoint;
160
161
else {
162
163
return [_.last(section.bendPoints)];
164
165
return section.startPoint;
0 commit comments