Closed jmcarp closed 5 years ago
The selection.merge method was added in d3v4. When selection.merge is undefined, as in d3v3, skip the call and use the existing selection.
This should fix https://github.com/dagrejs/dagre-d3/issues/309#issuecomment-450680411; cc @seelmann.
@lutzroeder ready for review when you have time.
The selection.merge method was added in d3v4. When selection.merge is undefined, as in d3v3, skip the call and use the existing selection.
This should fix https://github.com/dagrejs/dagre-d3/issues/309#issuecomment-450680411; cc @seelmann.