Greetings. I am seeing the following error:
TypeError: Cannot set property 'order' of undefined
at dagre.core.js:1395
at arrayEach (lodash.js:1289)
at Function.<anonymous> (lodash.js:3345)
at dagre.core.js:1394
at arrayEach (lodash.js:1289)
at Function.<anonymous> (lodash.js:3345)
at assignOrder (dagre.core.js:1393)
at order (dagre.core.js:1371)
at dagre.core.js:495
at notime (dagre.core.js:2897)
After doing some debugging I see the following:
function assignOrder(g, layering) {
_.each(layering, function(layer) {
_.each(layer, function(v, i) {
g.node(v).order = i;
});
});
}
In this function layer is an array, seemingly containing strings (maybe id's). When this error crops up, it seems that several items in the layer array are undefined. Therefore g.node(undefined) also returns undefined and produces the error.
I am currently going through our code to see what might be causing the issue, but was hoping that maybe the authors had some insight into what I might look for.
Greetings. I am seeing the following error:
After doing some debugging I see the following:
In this function
layeris an array, seemingly containing strings (maybe id's). When this error crops up, it seems that several items in thelayerarray areundefined. Thereforeg.node(undefined)also returns undefined and produces the error.I am currently going through our code to see what might be causing the issue, but was hoping that maybe the authors had some insight into what I might look for.