dagrejs / dagre-d3

A D3-based renderer for Dagre
MIT License
2.84k stars 587 forks source link

TypeError: svgEdgeLabels.exit is not a function at function createEdgeLabels #309

Closed AlbertoCastelo closed 5 years ago

AlbertoCastelo commented 6 years ago

This function was previously working correctly. Now it throws this error when I'm trying to render my graph

feelfine1977 commented 6 years ago

I have the same problem. It seems to work with d3v4. The problem occurs in d3.v3.5.5. When I use d3v4.13 it works. Does anyone know what version of dagre-d3 I can use in order to work with d3v3 ???

feelfine1977 commented 6 years ago

So I checked it and the last version of dagre-d3 that works with d3v3 without that error is dagre-d3v0.4.18. Dagre from the version v.0.5. and up throws the error.

seelmann commented 5 years ago

Tested with v0.6.3 which includes #313, but then I get a different error (using d3 v3.5.15):

Uncaught TypeError: previousPaths.merge is not a function
    at createEdgePaths (dagre-d3.min.js:26)
    at Array.fn (dagre-d3.min.js:93)
    at Array.Co.call (d3.min.js:3)
    at graph?dag_id=demo:1131