Not sure if you have any interest in this. I am cross posting this from the main dagre repo. Basically I have a graph that when laid out throws the following error:
TypeError: Cannot set property 'order' of undefined
at ./node_modules/dagre-layout/dist/dagre-layout.core.js:1:16798
at arrayEach (./node_modules/dagre-layout/node_modules/lodash/lodash.js:508:11)
at Function.forEach (./node_modules/dagre-layout/node_modules/lodash/lodash.js:9334:14)
at./node_modules/dagre-layout/dist/dagre-layout.core.js:1:16759
at arrayEach (./node_modules/dagre-layout/node_modules/lodash/lodash.js:508:11)
at Function.forEach (.source/node_modules/dagre-layout/node_modules/lodash/lodash.js:9334:14)
at v (./node_modules/dagre-layout/dist/dagre-layout.core.js:1:16727)
at t.default (./node_modules/dagre-layout/dist/dagre-layout.core.js:1:17145)
at ./node_modules/dagre-layout/dist/dagre-layout.core.js:1:30614
at w (./dagre-layout/dist/dagre-layout.core.js:1:3619)
I was able to replicate this, in this fork also. Here is the relevant gist.
https://gist.github.com/mmacfadden/2c923a6c7209308745296d489289f316
Here is the Dagre issue: dagrejs/dagre#234
Not sure if you have any interest in this. I am cross posting this from the main dagre repo. Basically I have a graph that when laid out throws the following error:
I was able to replicate this, in this fork also. Here is the relevant gist.
https://gist.github.com/mmacfadden/2c923a6c7209308745296d489289f316
Here is the Dagre issue: dagrejs/dagre#234